Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 183 for verify (0.04 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            // Add an include - this should work now
            resource.addInclude("test");
    
            // Verify the include was added
            assertEquals(1, resource.getIncludes().size(), "Should have one include");
            assertEquals("test", resource.getIncludes().get(0), "Include should be 'test'");
    
            // Verify that getting resources again still shows the include
            List<Resource> resourcesAfter = project.getResources();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ExecutorService service = mock(ExecutorService.class);
        application.addDelayedShutdownHook(service, 2, SECONDS);
        verify(service, Mockito.never()).shutdown();
        application.shutdown();
        InOrder shutdownFirst = Mockito.inOrder(service);
        shutdownFirst.verify(service).shutdown();
        shutdownFirst.verify(service).awaitTermination(2, SECONDS);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java

            // Verify field is not accessible initially
            boolean initialAccessibility = field.canAccess(bean);
    
            // Set the property using the helper
            helper.setProperty(bean, "directField", String.class, config);
    
            // Verify the value was set correctly
            assertEquals("fieldValue", bean.getDirectField());
    
            // Verify field accessibility is restored to its original state
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                assertTrue(result.success(), "Orchestrator should succeed");
    
                // Verify only applicable strategy was executed
                verify(mockStrategies.get(0)).apply(Mockito.eq(context), Mockito.any());
                verify(mockStrategies.get(1), Mockito.never()).apply(Mockito.any(), Mockito.any());
                verify(mockStrategies.get(2), Mockito.never()).apply(Mockito.any(), Mockito.any());
            }
    
            @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                strategy.apply(context, pomMap);
    
                // Verify child groupId was removed (matches parent, can be inferred)
                assertNull(childRoot.child("groupId").orElse(null));
                // Verify child version was kept (differs from parent, cannot be inferred)
                assertNotNull(childRoot.child("version").orElse(null));
                // Verify child artifactId was kept (always required)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ExecutorService service = mock(ExecutorService.class);
        application.addDelayedShutdownHook(service, 2, SECONDS);
        verify(service, Mockito.never()).shutdown();
        application.shutdown();
        InOrder shutdownFirst = Mockito.inOrder(service);
        shutdownFirst.verify(service).shutdown();
        shutdownFirst.verify(service).awaitTermination(2, SECONDS);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                // Convert to string to check formatting
                String result = DomUtils.toXml(document);
    
                // If pluginManagement was added, verify proper formatting
                if (result.contains("<pluginManagement>")) {
                    // Verify that the XML formatting is correct - no malformed closing tags
                    assertFalse(result.contains("</plugin></plugins>"), "Should not have malformed closing tags");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                            .thenReturn(UpgradeResult.empty());
    
                    applyGoal.execute(context);
    
                    // Verify that the Apply-specific header is logged
                    verify(context.logger).info("Maven Upgrade Tool - Apply");
                } finally {
                    // Clean up - delete all files in the directory first
                    try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_function_test.cc

      TF_Operation* func_feed = Placeholder(host_graph_, s_);
      TF_Operation* func_op = Use({func_feed, five});
      Run({{func_feed, Int32Tensor(2)}}, func_op, 2 /*+=*/ + 5 + 1);
    
      // Verify input, output, and subset of edges in fdef.
      // The subset of edges we verify is a chain between feed1 and output to
      // make sure that the correct output is picked.
      tensorflow::FunctionDef fdef;
      ASSERT_TRUE(GetFunctionDef(func_, &fdef));
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 63.6K bytes
    - Click Count (1)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

                // Do NOT call setRootLoggerLevel - this is the fix!
            }
    
            // Verify that setRootLoggerLevel was not called
            assertEquals(0, slf4jConfiguration.setRootLoggerLevelCallCount);
    
            // Verify that system property was not set
            assertNull(System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL));
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top