- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 743 for testAny (0.04 seconds)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
* under the License. */ package org.apache.maven.model.building; import java.util.ArrayList; import java.util.List; import org.apache.maven.model.Model; /** * A simple model problem collector for testing the model building components. * */ @Deprecated public class SimpleProblemCollector implements ModelProblemCollector { private Model model; private List<String> warnings = new ArrayList<>();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulatorTest.java
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.settings.Profile; import org.apache.maven.settings.Repository; import org.apache.maven.settings.Settings; import org.codehaus.plexus.testing.PlexusTest; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; @PlexusTest class DefaultMavenExecutionRequestPopulatorTest { @InjectCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
internal/event/target/mysql_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package target import ( "database/sql" "slices" "testing" ) // TestPostgreSQLRegistration checks if sql driver // is registered and fails otherwise. func TestMySQLRegistration(t *testing.T) { var found bool if slices.Contains(sql.Drivers(), "mysql") { found = true } if !found { t.Fatal("mysql driver not registered") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.1K bytes - Click Count (0) -
internal/s3select/sql/stringfuncs_contrib_test.go
* See the License for the specific language governing permissions and * limitations under the License. */ package sql import "testing" func TestEvalSQLSubstring(t *testing.T) { evalCases := []struct { s string startIdx int length int resExpected string errExpected error }{ {"abcd", 1, 1, "a", nil},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.2K bytes - Click Count (0) -
tests/associations_has_many_test.go
package tests_test import ( "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestHasManyAssociation(t *testing.T) { user := *GetUser("hasmany", Config{Pets: 2}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } CheckUser(t, user, user) // Find var user2 User DB.Find(&user2, "id = ?", user.ID)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 16.3K bytes - Click Count (0) -
tests/hooks_test.go
package tests_test import ( "errors" "log" "os" "reflect" "strings" "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) type Product struct { gorm.Model Name string Code string Price float64 AfterFindCallTimes int64 BeforeCreateCallTimes int64 AfterCreateCallTimes int64 BeforeUpdateCallTimes int64 AfterUpdateCallTimes int64
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jun 17 03:59:06 GMT 2024 - 16.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt
import com.fasterxml.jackson.module.kotlin.registerKotlinModule import java.io.File val ignoredSubprojects = listOf( "soak", // soak test "distributions-integ-tests", // build distribution testing "architecture-test", // sanity check ) interface GradleSubprojectProvider { val subprojects: List<GradleSubproject>Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/distinct_test.go
package tests_test import ( "regexp" "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestDistinct(t *testing.T) { users := []User{ *GetUser("distinct", Config{}), *GetUser("distinct", Config{}), *GetUser("distinct", Config{}), *GetUser("distinct-2", Config{}), *GetUser("distinct-3", Config{}), } users[0].Age = 20 if err := DB.Create(&users).Error; err != nil {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 2.5K bytes - Click Count (0) -
api/go1.22.txt
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Jan 24 20:54:27 GMT 2024 - 7.7K bytes - Click Count (0) -
internal/bucket/bandwidth/monitor_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package bandwidth import ( "reflect" "testing" "time" ) const ( oneMiB uint64 = 1024 * 1024 ) func TestMonitor_GetReport(t *testing.T) { type fields struct { activeBuckets map[BucketOptions]*bucketMeasurement endTime time.Time update2 uint64 endTime2 time.Time }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.3K bytes - Click Count (0)