- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,137 for testi (0.02 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java
* limitations under the License. */ package com.google.common.collect.testing.testers; import com.google.common.annotations.GwtCompatible; /** Exception classes for use in tests. */ @GwtCompatible final class TestExceptions { static class SomeError extends Error {} static class SomeCheckedException extends Exception {} static class SomeOtherCheckedException extends Exception {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/RemovalNotificationTest.java
* limitations under the License. */ package com.google.common.cache; import com.google.common.testing.EqualsTester; import junit.framework.TestCase; /** * Unit tests of {@link RemovalNotification}. * * @author Ben Yu */ public class RemovalNotificationTest extends TestCase { public void testEquals() { new EqualsTester() .addEqualityGroup(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TestExceptions.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; /** Exception classes for use in tests. */ @GwtCompatible final class TestExceptions { static class SomeError extends Error {} static class SomeCheckedException extends Exception {} static class SomeOtherCheckedException extends Exception {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 1.2K bytes - Viewed (0) -
test-site/test/ApplicationTest.java
* If you are interested in mocking a whole application, see the wiki for more details. * */ public class ApplicationTest { @Test public void simpleCheck() { int a = 1 + 1; assertThat(a).isEqualTo(2); } @Test public void renderTemplate() { Content html = views.html.index.render("Your new application is ready.");
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
} }; LocalCache<String, String> cache = makeLocalCache(builder, loader); assertThat(cache.getOrLoad("test")).isEqualTo("testLoad"); ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh assertThat(cache.getOrLoad("test")).isEqualTo("testLoad"); reloadStarted.await(); ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 110.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
} }; LocalCache<String, String> cache = makeLocalCache(builder, loader); assertThat(cache.getOrLoad("test")).isEqualTo("testLoad"); ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh assertThat(cache.getOrLoad("test")).isEqualTo("testLoad"); reloadStarted.await(); ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
mockwebserver-junit5/README.md
To use, first add this library as a test dependency: ``` testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.12.0") ``` Then in tests annotated `@org.junit.jupiter.api.Test`, you may add a [MockWebServer] as a test method parameter. It will be shut down automatically after the test runs. ``` class MyTest { @Test void test(MockWebServer server) { ... } } ```
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import junit.framework.TestCase; /** * Tests for {@code ImmutableCollection}. * * @author Louis Wasserman */ public class ImmutableCollectionTest extends TestCase { public void testCapacityExpansion() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.5K bytes - Viewed (0) -
internal/grid/grid_types_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package grid //go:generate msgp -unexported -file=$GOFILE -tests=false -o=grid_types_msgp_test.go type testRequest struct { Num int String string } type testResponse struct { OrgNum int OrgString string Embedded testRequest }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
* to be the case). Thus, this test is more of a regression test. * * Rough instructions to regenerate the test outputs and verify correctness: * - Temporarily change this test: * --- Comment out assertEquals. * --- System.out.println(input + " " + simplifyPath(input)); * --- fail(). (If the test were to pass, its output would be hidden.) * - Run the test.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 10.9K bytes - Viewed (0)