- Sort Score
- Result 10 results
- Languages All
Results 731 - 740 of 1,892 for testint (0.12 sec)
-
internal/event/target/mysql_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package target import ( "database/sql" "testing" ) // TestPostgreSQLRegistration checks if sql driver // is registered and fails otherwise. func TestMySQLRegistration(t *testing.T) { var found bool for _, drv := range sql.Drivers() { if drv == "mysql" { found = true break } } if !found {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 02 14:53:13 UTC 2023 - 1.1K bytes - Viewed (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},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.2K bytes - Viewed (0) -
schema/index_test.go
{Field: &schema.Field{Name: "FieldH1", Unique: true}}, {Field: &schema.Field{Name: "FieldH2"}}, }, }, }, indices) } func CheckIndices(t *testing.T, expected, actual map[string]schema.Index) { for k, ei := range expected { t.Run(k, func(t *testing.T) { ai, ok := actual[k] if !ok { t.Errorf("expected index %q but actual missing", k) return }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Objects; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.google.MultisetTestSuiteBuilder; import com.google.common.collect.testing.google.TestStringMultisetGenerator; import java.io.Serializable; import java.util.Collections; import java.util.Iterator;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
cmd/object-api-options_test.go
import ( "context" "net/http" "net/http/httptest" "reflect" "testing" xhttp "github.com/minio/minio/internal/http" ) // TestGetAndValidateAttributesOpts is currently minimal and covers a subset of getAndValidateAttributesOpts(), // it is intended to be expanded when the function is worked on in the future. func TestGetAndValidateAttributesOpts(t *testing.T) { globalBucketVersioningSys = &BucketVersioningSys{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/os-readdir_test.go
package cmd import ( "fmt" "os" "path" "path/filepath" "runtime" "sort" "testing" ) // Test to check for different input arguments. func TestReadDirFail(t *testing.T) { // Check non existent directory. if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound { t.Fatalf("expected = %s, got: %s", errFileNotFound, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0) -
cmd/batch-handlers_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "slices" "testing" "gopkg.in/yaml.v3" ) func TestBatchJobPrefix_UnmarshalYAML(t *testing.T) { type args struct { yamlStr string } type PrefixTemp struct { Prefix BatchJobPrefix `yaml:"prefix"` } tests := []struct { name string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/amztime/iso8601_time_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 amztime import ( "testing" "time" ) func TestISO8601Format(t *testing.T) { testCases := []struct { date time.Time expectedOutput string }{ { date: time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Dec 12 18:28:30 UTC 2022 - 1.8K bytes - Viewed (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 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 06 03:21:59 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/xl-storage_test.go
package cmd import ( "bytes" "context" "crypto/rand" "io" "net/url" "os" slashpath "path" "runtime" "strings" "syscall" "testing" "github.com/google/uuid" ) func TestCheckPathLength(t *testing.T) { // Check path length restrictions are not same on windows/darwin if runtime.GOOS == "windows" || runtime.GOOS == "darwin" { t.Skip() } testCases := []struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0)