- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 403 for isInject (0.06 sec)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
config = configFile("codenarc-integtests.xml") } } val SourceSet.allGroovy: SourceDirectorySet get() = the<GroovySourceDirectorySet>() abstract class CodeNarcRule @Inject constructor( private val groovyVersion: String ) : ComponentMetadataRule { override fun execute(context: ComponentMetadataContext) { context.details.allVariants { withDependencies {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Oct 01 11:57:43 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
// Mock the request buffer DfsReferralRequestBuffer mockRequest = mock(DfsReferralRequestBuffer.class); when(mockRequest.encode(any(byte[].class), anyInt())).thenReturn(10); // Inject mock request Field requestField = Trans2GetDfsReferral.class.getDeclaredField("request"); requestField.setAccessible(true); requestField.set(trans2GetDfsReferral, mockRequest);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; class DefaultToolchainManagerTest { // Mocks to inject into toolchainManager @Mock private Logger logger; private ToolchainManagerFactory.DefaultToolchainManagerV3 toolchainManager; @Mock private ToolchainFactory toolchainFactoryBasicType;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
transportContextField.setAccessible(true); transportContextField.set(ntlmServlet, cifsContext); } catch (Exception e) { throw new RuntimeException("Failed to inject mock CIFSContext", e); } when(cifsContext.getTransportPool()).thenReturn(transportPool); when(cifsContext.getNameServiceClient()).thenReturn(nameServiceClient);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
// This requires Mockito 3.4.0+ for MockedStatic // For simplicity, we'll assume Crypto.getMD5() is static and mock it. // If it's not static, we'd need to inject it or mock the class that provides it. try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) { mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); } } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
import java.lang.reflect.Modifier; import java.lang.reflect.Type; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import com.google.inject.TypeLiteral; import org.codehaus.plexus.component.configurator.ComponentConfigurationException; import org.codehaus.plexus.component.configurator.ConfigurationListener;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 12.3K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
val versionsToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>() JavaParser().parse(sourceFile).getResult().get().run { solver.inject(this) findAllIncubating() .map { node -> toVersionIncubating(sourceFile, node) } .forEach { (version, incubating) ->Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Jun 02 09:57:54 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
// We will return a composite buffer from the test when building the full packet. // To keep this helper simple, return base and let the caller append/pad and inject ctx. return base; } /** * Build a full SMB2 packet combining header and provided body, optionally injecting context bytes. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.interpolation; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import java.util.HashMap; import java.util.List; import java.util.ListIterator; import java.util.Map; import java.util.Properties;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 43.1K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
And then, that system (in this case **FastAPI**) will take care of doing whatever is needed to provide your code with those needed dependencies ("inject" the dependencies). This is very useful when you need to: * Have shared logic (the same code logic again and again). * Share database connections. * Enforce security, authentication, role requirements, etc.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0)