<commit_before>/*
 * Copyright 2001-2012 Artima, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.scalatest

/**
 * <strong><code>AbstractSuite</code> has been deprecated and will be removed in a future version of ScalaTest. Please change all occurances of
 * AbstractSuite to SuiteMixin.  This is just a name change for stackable traits extending <code>AbstractSuite</code>. If <code>AbstractSuite</code> was
 * being used in any other way, change <code>AbstractSuite</code> to <code>Suite</code>.
 *
 * <p>
 * The main change will be to change stackable traits defined like this:
 * </p>
 *
 * <pre class="stHighlight">
 * import org.scalatest._
 * import concurrent.Eventually._
 * 
 * trait RetriedTests extends AbstractSuite { Suite =>
 *   abstract override def withFixture(test: NoArgTest) {
 *     eventually { super.withFixture(test) }
 *   }
 * }
 * </pre>
 * 
 * <p>
 * The main change will be to change stackable traits defined like this:
 * </p>
 *
 * <pre class="stHighlight">
 * import org.scalatest._
 * import concurrent.Eventually._
 * 
 * trait RetriedTests extends SuiteMixin { Suite =>
 *   abstract override def withFixture(test: NoArgTest) {
 *     eventually { super.withFixture(test) }
 *   }
 * }
 * </pre>
 */
@deprecated("Please use SuiteMixin or Suite instead. For more info, see the Scaladoc for AbstractSuite.")
trait AbstractSuite { this: Suite =>

  /**
   * Runs the passed test function with a fixture established by this method.
   *
   * <p>
   * This method should set up the fixture needed by the tests of the
   * current suite, invoke the test function, and if needed, perform any clean
   * up needed after the test completes. Because the <code>NoArgTest</code> function
   * passed to this method takes no parameters, preparing the fixture will require<commit_msg>Fixed problems in (and improved) scaladoc for trait AbstractSuite.<commit_after>/*
 * Copyright 2001-2012 Artima, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.scalatest

/**
 * <strong><code>AbstractSuite</code> has been deprecated and will be removed in a future version of ScalaTest. Please change occurances of
 * <code>AbstractSuite</code> where serving as a base class for stackable traits to <a href="SuiteMixin.html"><code>SuiteMixin</code></a>.  This
 * is just a name change for stackable traits extending <code>AbstractSuite</code>. If <code>AbstractSuite</code> was
 * being used in any other way, change <code>AbstractSuite</code> to <a href="Suite.html"><code>Suite</code></a>.</strong>
 *
 * <p>
 * The main change will be to change stackable traits defined like this:
 * </p>
 *
 * <pre class="stHighlight">
 * import org.scalatest._
 * import concurrent.Eventually._
 * 
 * trait RetriedTests extends AbstractSuite { Suite =&gt;
 *   abstract override def withFixture(test: NoArgTest) {
 *     eventually { super.withFixture(test) }
 *   }
 * }
 * </pre>
 * 
 * <p>
 * Instead of extending <code>AbstractSuite</code>, extend <code>SuiteMixin</code> instead:
 * </p>
 *
 * <pre class="stHighlight">
 * import org.scalatest._
 * import concurrent.Eventually._
 * 
 * trait RetriedTests extends SuiteMixin { Suite =&gt;
 *   abstract override def withFixture(test: NoArgTest) {
 *     eventually { super.withFixture(test) }
 *   }
 * }
 * </pre>
 */
@deprecated("Please use SuiteMixin or Suite instead. For more info, see the Scaladoc for AbstractSuite.")
trait AbstractSuite { this: Suite =>

  /**
   * Runs the passed test function with a fixture established by this method.
   *
   * <p>
   * This method should set up the fixture needed by the tests of the
   * current suite, invoke the test function, and if needed, perform any clean
   * up needed after the test completes. Because the <code>NoArgTest</code> function
   * passed to this method takes no parameters, preparing the fixture will require
{'fraction_non_alphanumeric': 0.09852820932134096, 'fraction_numerical': 0.004905968928863451, 'mean_word_length': 3.8445544554455444, 'pattern_counts': {'":': 0, '<': 60, '<?xml version=': 0, '>': 64, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7652757', 'n_tokens_mistral': 1364, 'n_tokens_neox': 1326, 'n_words': 564}