class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
MacSystemInfoTest | /**
* Copyright (c) 2013, Groupon, Inc. All rights reserved.
*
* <p>Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* <p>Redistributions of source code must retain the above copyright notice, this list of conditions... | .version 52 0
.class public super MacSystemInfoTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 39
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:52:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:52:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,900 |
Config | /** Created by huangyuan on 15-12-13. */
public class Config {
// 用于音乐播放的常量
public static final String ACTION_PROGRESS = "pub.huangyuan.broadcast.progress";
public static final String ACTION_SEEKTO = "pub.huangyuan.broadcast.seekto";
public static final String EXSTRA_PROGRESS_MAX = "prg_max";
public static f... | .version 52 0
.class public super Config
.super java/lang/Object
.field public static final ACTION_PROGRESS Ljava/lang/String; = 'pub.huangyuan.broadcast.progress'
.field public static final ACTION_SEEKTO Ljava/lang/String; = 'pub.huangyuan.broadcast.seekto'
.field public static final EXSTRA_PROGRESS_MAX Ljava/lan... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:09:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:09:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,901 |
CommonUtils | /*
* Copyright (C) 2016 venshine.cn@gmail.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | .version 52 0
.class public super CommonUtils
.super java/lang/Object
.field private static final VALUE I = 10000
.field private static mCount Ljava/util/concurrent/atomic/AtomicInteger;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:08:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:08:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,902 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:31:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:31:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,903 |
MessageObject |
public class MessageObject {
private String id;
private String name;
private String sendid;
private String sendname;
private String sendphone;
private String coment;
private String times;
public MessageObject() {}
public MessageObject(
String id, String name, String sendid, String sendname, S... | .version 52 0
.class public super MessageObject
.super java/lang/Object
.field private id Ljava/lang/String;
.field private name Ljava/lang/String;
.field private sendid Ljava/lang/String;
.field private sendname Ljava/lang/String;
.field private sendphone Ljava/lang/String;
.field private coment Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:44:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:44:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,904 |
ClassWithMultipleConstructors | /*
* Copyright 2012-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | .version 52 0
.class public super ClassWithMultipleConstructors
.super java/lang/Object
.field protected value Ljava/lang/Object;
.method public <init> : (Ljava/lang/Object;)V
.code stack 3 locals 2
L0: aload_0
L1: aload_1
L2: aconst_null
L3: invokespecial Method ClassWithMultipleConstruct... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:00:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:00:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,905 |
Reference | public class Reference {
public static final String MOD_ID = "OCraft";
public static final String MOD_NAME = "OCraft";
public static final String VERSION = "1.7.10-1.0";
public static final String CLIENT_PROXY_CLASS = "eu.oisinsmith.OCraft.proxy.ClientProxy";
public static final String SERVER_PROXY_CLASS = "e... | .version 52 0
.class public super Reference
.super java/lang/Object
.field public static final MOD_ID Ljava/lang/String; = 'OCraft'
.field public static final MOD_NAME Ljava/lang/String; = 'OCraft'
.field public static final VERSION Ljava/lang/String; = '1.7.10-1.0'
.field public static final CLIENT_PROXY_CLASS L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:07:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:07:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,906 |
ScreenCollabUtil | public class ScreenCollabUtil {
public static boolean isSendScreen(String sendScreen) {
return (sendScreen != null && sendScreen.equals("true"));
}
public static boolean isRecoverScreen(String invoke) {
return (invoke != null && invoke.equals("recoverScreen"));
}
}
| .version 52 0
.class public super ScreenCollabUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:17:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:17:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,907 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.example.matinal.intent12";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z
.field public static final APPLICATION_ID Ljava/lang/String; = 'com.example.matinal.intent12'
.field public static final BUILD_TYPE Ljava/lang/String; = 'debug'
.field public static final FLAVOR Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:17:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:17:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,908 |
Example | /**
* Example Class
*
* @author HARDIK HIRAPARA
*/
public class Example {
public static void main(String[] args) {
int[][] arr = new int[2][];
arr[0] = new int[] {1, 2, 3, 4, 5};
arr[1] = new int[] {1, 2, 3};
for (int[] row : arr) {
for (int value : row) {
System.out.printf("%2d",... | .version 52 0
.class public super Example
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:55:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:55:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,909 |
UserAlreadyExistsException | /** Created by sergio on 7/09/15. */
public class UserAlreadyExistsException extends Exception {}
| .version 52 0
.class public super UserAlreadyExistsException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbert... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:53:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:53:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,910 |
DeleteClusterDRSResult | public class DeleteClusterDRSResult {}
| .version 52 0
.class public super DeleteClusterDRSResult
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:59:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:59:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,911 |
Siren4J | /** Useful constants for working with Siren4J. */
public class Siren4J {
private Siren4J() {}
/** The Media Type for Siren/JSON (application/vnd.siren+json). */
public static final String JSON_MEDIATYPE = "application/vnd.siren+json";
/**
* Default date format string used for date serialization. <code>yyy... | .version 52 0
.class public super Siren4J
.super java/lang/Object
.field public static final JSON_MEDIATYPE Ljava/lang/String; = 'application/vnd.siren+json'
.field public static final DEFAULT_DATE_FORMAT Ljava/lang/String; = "yyyy-MM-dd'T'HH:mm:ssZ" .fieldattributes
.deprecated
.runtime visible annotatio... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:30:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:30:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 143,912 |
BoaAbstractFixP | /*
* Copyright 2014, Hridesh Rajan, Robert Dyer,
* and Iowa State University of Science and Technology
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... | .version 52 0
.class public super abstract BoaAbstractFixP
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:05:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:05:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 143,913 |
StiebelHeatPumpException | /**
* Copyright 2014 This file is part of stiebel heat pump reader. It is free software: you can
* redistribute it and/or modify it under the terms of the GNU General Public License as published
* by the Free Software Foundation, either version 3 of the License, or (at your option) any later
* version. It is is dis... | .version 52 0
.class public super StiebelHeatPumpException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 23
L4 24
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:27:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:27:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,914 |
LongestPalindromicSubstring | /**
* Given a string S, find the longest palindromic substring in S. You may assume that the maximum
* length of S is 1000, and there exists one unique longest palindromic substring.
*
* <p>Tags: String
*/
class LongestPalindromicSubstring {
public static void main(String[] args) {
LongestPalindromicSubstri... | .version 52 0
.class super LongestPalindromicSubstring
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:08:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:08:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,915 |
Library | public class Library {
public static void test() {}
}
| .version 52 0
.class public super Library
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:17:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:17:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,916 |
User | public class User {
private String role;
private String email;
private String password;
private String token;
public String getRole() {
return role;
}
public void setRole(String role) {
this.role = role;
}
public String getEmail() {
return email;
}
public void setEmail(String email... | .version 52 0
.class public super User
.super java/lang/Object
.field private role Ljava/lang/String;
.field private email Ljava/lang/String;
.field private password Ljava/lang/String;
.field private token Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invok... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:14:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:14:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,917 |
CryptoException | /** General exception type for crypto library. */
public class CryptoException extends Exception {
CryptoException() {}
public CryptoException(String message, Throwable cause) {
super(message, cause);
}
}
| .version 52 0
.class public super CryptoException
.super java/lang/Exception
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 8
L4 9
.end linenumbert... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:40:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:40:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,918 |
Tab | /** Created by Cloud on 2016/5/18. */
public class Tab {
private String message;
public Tab(String message) {
this.message = message;
}
public Tab() {}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}
| .version 52 0
.class public super Tab
.super java/lang/Object
.field private message Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Field Tab ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:00:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:00:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,919 |
BaseDo | import java.util.Date;
public class BaseDo {
public static final String ID = "id";
public static final String GMT_CREATE = "gmtCreate";
public static final String GMT_MODIFIED = "gmtModified";
public static final String CREATOR = "creator";
public static final String MODIFIER = "modifier";
public static fi... | .version 52 0
.class public super BaseDo
.super java/lang/Object
.field public static final ID Ljava/lang/String; = 'id'
.field public static final GMT_CREATE Ljava/lang/String; = 'gmtCreate'
.field public static final GMT_MODIFIED Ljava/lang/String; = 'gmtModified'
.field public static final CREATOR Ljava/lang/S... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:01:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:01:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,920 |
DefaultProperty | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super DefaultProperty
.super java/lang/Object
.field private name Ljava/lang/String;
.field private type Ljava/lang/Class;
.field private value Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <i... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:53:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:53:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,921 |
UserData | import java.util.Date;
/** Logged in User response */
public class UserData {
private String id;
private boolean active;
private String email;
private String emailOptIn;
private String firstName;
private String lastName;
private Date lastLoginDate;
public String getId() {
return id;
}
public ... | .version 52 0
.class public super UserData
.super java/lang/Object
.field private id Ljava/lang/String;
.field private active Z
.field private email Ljava/lang/String;
.field private emailOptIn Ljava/lang/String;
.field private firstName Ljava/lang/String;
.field private lastName Ljava/lang/String;
.field priv... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:55:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:55:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,922 |
ThriftConfigConstants | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.... | .version 52 0
.class public super ThriftConfigConstants
.super java/lang/Object
.field public static final PARAM_ENABLE_THRIFT_SERVICE Ljava/lang/String; = 'EntitlementSettings.ThirftBasedEntitlementConfig.EnableThriftService'
.field public static final PARAM_RECEIVE_PORT Ljava/lang/String; = 'EntitlementSettings.T... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:56:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:56:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,923 |
HoldTimeWaiting | import java.util.HashMap;
import java.util.Map;
public class HoldTimeWaiting {
private static Map<String, Long> timeHolder = new HashMap<String, Long>();
/**
* @param key
* @param time mis
* @return
*/
// public static boolean canExecute(String key, long time) {
//
// if (timeHolder.containsKey... | .version 52 0
.class public super HoldTimeWaiting
.super java/lang/Object
.field private static timeHolder Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Long;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: inv... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:38:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:38:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,924 |
MonkAndWelcome | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
/**
* @author gagssing
*/
public class M... | .version 52 0
.class public super MonkAndWelcome
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 16
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:35:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:35:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,925 |
LibraryInfo | /** Copyright (c) 2009 Jozef Izso. All Rights Reserved. */
/**
* @author Jozef Izso
*/
public class LibraryInfo {
private String name;
private String version;
public LibraryInfo() {
this.name = "";
this.version = "";
}
public void setName(String name) {
this.name = name;
}
public Strin... | .version 52 0
.class public super LibraryInfo
.super java/lang/Object
.field private name Ljava/lang/String;
.field private version Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc ''... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:26:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:26:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,926 |
Endpoints | /** Created by nicolas on 10/5/17. */
class Endpoints {
static final String DATA = "mobile_test/master/data.json";
}
| .version 52 0
.class super Endpoints
.super java/lang/Object
.field static final DATA Ljava/lang/String; = 'mobile_test/master/data.json'
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:04:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:04:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,927 |
ThreatAnalyzer | // strings/ThreatAnalyzer.java
// (c)2017 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;
import java.util.regex.*;
public class ThreatAnalyzer {
static String threatData =
"58.27.82.161@0... | .version 52 0
.class public super ThreatAnalyzer
.super java/lang/Object
.field static threatData Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:49:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:49:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,928 |
PrintCooc | import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.util.BitSet;
public class PrintCooc {
public static int[] trainInts;
public static PrintWriter printWriter;
public static BitSet[] coocIsNonzeroArr;
public static short[][] coocArrByInd;
public static short[][] ... | .version 52 0
.class public super PrintCooc
.super java/lang/Object
.field public static trainInts [I
.field public static printWriter Ljava/io/PrintWriter;
.field public static coocIsNonzeroArr [Ljava/util/BitSet;
.field public static coocArrByInd [[S
.field public static coocArrByRel [[S
.field public static ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:54:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:54:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,929 |
SizeModel | import java.io.Serializable;
/**
* ��������
*
* @author dev
*/
public class SizeModel implements Serializable {
/** */
private static final long serialVersionUID = 1L;
private int id;
private String name;
private int pId;
public int getId() {
return id;
}
public void setId(int id) {
thi... | .version 52 0
.class public super SizeModel
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private id I
.field private name Ljava/lang/String;
.field private pId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:24:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:24:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,930 |
FibonacciIterative | // Copyright (c) 2015 Elements of Programming Interviews. All rights reserved.
import java.util.Random;
public class FibonacciIterative {
// @include
public static int fibonacci(int n) {
if (n <= 1) {
return n;
}
int fMinus2 = 0;
int fMinus1 = 1;
for (int i = 2; i <= n; ++i) {
int... | .version 52 0
.class public super FibonacciIterative
.super java/lang/Object
.field static final synthetic $assertionsDisabled Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:22:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:22:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,931 |
Driver | /*******************************************************************************
* Copyright (c) 2010-2018 ITER Organization.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is avail... | .version 52 0
.class public super Driver
.super java/lang/Object
.field private final name Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Fiel... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:35:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:35:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,932 |
OAuthSystemException | /**
* Copyright 2010 Newcastle University
*
* <p>http://research.ncl.ac.uk/smart/
*
* <p>Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses... | .version 52 0
.class public super OAuthSystemException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 31
L4 32
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:31:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:31:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,933 |
TokenCheckerLib | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | .version 52 0
.class public super TokenCheckerLib
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 22
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:09:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:09:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,934 |
Capable | // Copyright (C) 2008 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | .version 52 0
.class public super Capable
.super java/lang/Object
.field public static final OK LCapable;
.field private final message Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: al... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:50:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:50:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,935 |
ClientYamlTestParseException | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | .version 52 0
.class public super ClientYamlTestParseException
.super java/lang/Exception
.method <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:10:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:10:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,936 |
Main | /*
* Author: Minho Kim (ISKU)
* Date: August 9, 2018
* E-mail: minho.kim093@gmail.com
*
* https://github.com/ISKU/Algorithm
* https://www.acmicpc.net/problem/10451
*/
import java.io.*;
import java.util.*;
public class Main {
private static ArrayList<Integer>[] graph;
private static boolean[] visited, fini... | .version 52 0
.class public super Main
.super java/lang/Object
.field private static graph [Ljava/util/ArrayList; .fieldattributes
.signature [Ljava/util/ArrayList<Ljava/lang/Integer;>;
.end fieldattributes
.field private static visited [Z
.field private static finished [Z
.field private static cycle I
.m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:44:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:44:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,937 |
Constants | /** Created by luciano on 09/04/16. */
public class Constants {
public static String TAG = "todeolho";
public static String API_HOST = "todeolho-corrupcao.herokuapp.com";
public static String API_URL = "http://" + API_HOST;
}
| .version 52 0
.class public super Constants
.super java/lang/Object
.field public static TAG Ljava/lang/String;
.field public static API_HOST Ljava/lang/String;
.field public static API_URL Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:34:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:34:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,938 |
KeyPress | public class KeyPress {
public final int key;
public final char character;
public KeyPress(int key, char character) {
this.key = key;
this.character = character;
}
}
| .version 52 0
.class public super KeyPress
.super java/lang/Object
.field public final key I
.field public final character C
.method public <init> : (IC)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Fiel... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:46:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:46:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,939 |
Items | public class Items {
private Integer id;
private String name;
private int class_id;
private int user_id;
private Float price;
private String pic;
private String createtime;
public String getCreatetime() {
return createtime;
}
public void setCreatetime(String createtime) {
this.create... | .version 52 0
.class public super Items
.super java/lang/Object
.field private id Ljava/lang/Integer;
.field private name Ljava/lang/String;
.field private class_id I
.field private user_id I
.field private price Ljava/lang/Float;
.field private pic Ljava/lang/String;
.field private createtime Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:55:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:55:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,940 |
MyFileUtils | import java.io.File;
public class MyFileUtils {
public static final String CSV = "csv";
/*
* Get the extension of a file.
*/
public static String getExtension(File f) {
String ext = null;
String s = f.getName();
int i = s.lastIndexOf('.');
if (i > 0 && i < s.length() - 1) {
ext = s.... | .version 52 0
.class public super MyFileUtils
.super java/lang/Object
.field public static final CSV Ljava/lang/String; = 'csv'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:49:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:49:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,941 |
ClosureExample | import java.util.function.Function;
public class ClosureExample {
public static Function<Integer, Integer> closure() {
int a = 3;
Function<Integer, Integer> function =
t -> {
// a++;
return t * a;
};
return function;
}
}
| .version 52 0
.class public super ClosureExample
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:40:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.function.Function;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:40:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,942 |
User | // $Id: User.java 10977 2006-12-12 23:28:04Z steve.ebersole@jboss.com $
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* @author Gavin King
*/
public class User {
private String userName;
private List permiss... | .version 52 0
.class public super User
.super java/lang/Object
.field private userName Ljava/lang/String;
.field private permissions Ljava/util/List;
.field private emailAddresses Ljava/util/List;
.field private sessionData Ljava/util/Map;
.field private sessionAttributeNames Ljava/util/Set;
.method <init> : (... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:22:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.evos... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:22:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,943 |
Student | /** Created by demi on 2017/11/14. */
public class Student {
private String name;
private int age;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
... | .version 52 0
.class public super Student
.super java/lang/Object
.field private name Ljava/lang/String;
.field private age I
.method public getName : ()Ljava/lang/String;
.code stack 1 locals 1
L0: aload_0
L1: getfield Field Student name Ljava/lang/String;
L4: areturn
L5:
.linen... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:24:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:24:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,944 |
SetMatrixZero | import java.util.ArrayList;
public class SetMatrixZero {
/**
* Given a m * n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
* Follow up: Did you use extra space? A straight forward solution using O(mn) space is probably a
* bad idea. A simple improvement uses O(m + n) space... | .version 52 0
.class public super SetMatrixZero
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:38:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:38:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,945 |
Project2 | import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
public class Project2 {
public static void main(String[] args) throws IOException {
final BufferedReader reader = new BufferedRead... | .version 52 0
.class public super Project2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:10:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosui... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:10:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,946 |
Circle | /**
* Circle extends Ellipse2D to make it easier to draw circles because the parameters to the
* constructor are more convenient
*
* @author Andrew Pang
* @version CS56, Winter 2014, UCSB
*/
public class Circle extends java.awt.geom.Ellipse2D.Double implements java.awt.Shape {
/**
* Constructor for objects o... | .version 52 0
.class public super Circle
.super java/awt/geom/Ellipse2D$Double
.implements java/awt/Shape
.method public <init> : (DDD)V
.code stack 11 locals 7
L0: aload_0
L1: dload_1
L2: dload 5
L4: dsub
L5: dload_3
L6: dload 5
L8: dsub
L9: dload 5
L11: ldc2_w +2.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:12:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:12:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,947 |
JDBCTypesUtils | import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.math.BigDecimal;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Types;
import java.util.Date;
import java.util.Map;
import java.util.TreeMap;
public class JDBCTypesUtils {
private static Map<String, Integer> jdbcTypes; // Na... | .version 52 0
.class public super JDBCTypesUtils
.super java/lang/Object
.field private static jdbcTypes Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
.end fieldattributes
.field private static jdbcTypeValues Ljava/util/Map; .fieldattributes
.signature... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:52:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:52:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,948 |
LoginStatus | public class LoginStatus {
private final boolean loggedIn;
private final String username;
public LoginStatus(boolean loggedIn, String username) {
this.loggedIn = loggedIn;
this.username = username;
}
public boolean isLoggedIn() {
return loggedIn;
}
public String getUsername() {
return ... | .version 52 0
.class public super LoginStatus
.super java/lang/Object
.field private final loggedIn Z
.field private final username Ljava/lang/String;
.method public <init> : (ZLjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aloa... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:32:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:32:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,949 |
Solution | public class Solution {
/*Dynamic programming.
OPT[k,t] -- the max number of different combinations for first k elements to achieve result t.
OPT[k,t] = OPT[k-1, t-vk] + OPT[k-1, t+vk] (vk is the value of k-th element)
OPT[0,t] = 0;
OPT[0,-v0] = 1;
OPT[0, v0] = 1;
*/
public int findTargetSumWays(int[] n... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:22:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:22:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,950 |
InputRightCurlyLineBreakBefore |
class InputRightCurlyLineBreakBefore {
/**
* @see test method *
*/
int foo() throws InterruptedException {
int x = 1;
int a = 2;
while (true) {
try {
if (x > 0) {
break;
} else if (x < 0) {
;
} else {
break;
}
switch (a) ... | .version 52 0
.class super InputRightCurlyLineBreakBefore
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:58:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:58:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,951 |
ScoringMatrix | import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
public class ScoringMatrix {
private char[] indexToChar;
private int[] charToIndex;
private int[][] svalues;
private double[][] values;
private int mult = 0;
public int[] encodeSequence(String seque... | .version 52 0
.class public super ScoringMatrix
.super java/lang/Object
.field private indexToChar [C
.field private charToIndex [I
.field private svalues [[I
.field private values [[D
.field private mult I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:49:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:49:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,952 |
InvalidPathException | /*
* Copyright 2011 the original author or authors.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | .version 52 0
.class public super InvalidPathException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 23
L4 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:48:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:48:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,953 |
KHRPriorityHints | /*
* Copyright LWJGL. All rights reserved.
* License terms: http://lwjgl.org/license.php
* MACHINE GENERATED FILE, DO NOT EDIT
*/
/**
* Native bindings to the <strong>khr_priority_hints</strong> extension.
*
* <p>This extension adds priority hints for OpenCL, but does not specify the scheduling behavior or
* m... | .version 52 0
.class public final super KHRPriorityHints
.super java/lang/Object
.field public static final CL_QUEUE_PRIORITY_KHR I = 4246
.field public static final CL_QUEUE_PRIORITY_HIGH_KHR I = 1
.field public static final CL_QUEUE_PRIORITY_MED_KHR I = 2
.field public static final CL_QUEUE_PRIORITY_LOW_KHR I =... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:51:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:51:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 143,954 |
CategoryLevelData | /*******************************************************************************
* Copyright (c) 1999-2010, Vodafone Group Services
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* ... | .version 52 0
.class public super CategoryLevelData
.super java/lang/Object
.field public static final TYPE_CATEGORY_LEVEL I = 0
.field public static final TYPE_SEARCH_RESULTS I = 1
.field public static final TYPE_SEARCH_DETAILS I = 2
.field public static final TYPE_COMBINED_DETAILS I = 3
.field private objectVe... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:08:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Vector;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cla... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:08:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,955 |
h2DBConnection | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/** Created by Ashok on 4/14/2017. */
public class h2DBConnection {
private static Connection connection;
private static final String JDBC_DRIVER = "org.h2.Driver";
private static final String url = "jdbc:h2:./gmail";
priv... | .version 52 0
.class public super h2DBConnection
.super java/lang/Object
.field private static connection Ljava/sql/Connection;
.field private static final JDBC_DRIVER Ljava/lang/String; = 'org.h2.Driver'
.field private static final url Ljava/lang/String; = 'jdbc:h2:./gmail'
.field private static final user Ljava... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:19:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:19:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,956 |
CommonArgs | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public final super CommonArgs
.super java/lang/Object
.field public static final LOCAL_FS Ljava/lang/String; = 'file:///'
.field public static final FS_DEFAULT_NAME Ljava/lang/String; = 'fs.defaultfs.name'
.field public static final FS_DEFAULTFS Ljava/lang/String; = 'fs.defaultFS'
.method pr... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:40:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:40:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,957 |
Main | import java.util.Scanner;
/** Created by 47678 on 2017/5/3. */
public class Main {
public static void main(String[] args) throws Exception {
java.io.File file1 = new java.io.File("LR_ex0.txt");
java.io.File file2 = new java.io.File("LR_ex1.txt");
Scanner inputFile = new Scanner(file1);
int cnt = 0;
... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:32:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:32:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,958 |
Transform | public class Transform {
public double x;
public double y;
public double boxCollisionWidth;
public double boxCollisionHeight;
public double boxCollisionOffsetX;
public double boxCollisionOffsetY;
public double directionX;
public double directionY;
public double angle;
public Transform() {
... | .version 52 0
.class public super Transform
.super java/lang/Object
.field public x D
.field public y D
.field public boxCollisionWidth D
.field public boxCollisionHeight D
.field public boxCollisionOffsetX D
.field public boxCollisionOffsetY D
.field public directionX D
.field public directionY D
.field pub... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:15:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:15:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,959 |
Reference | public class Reference {
public static final String MOD_ID = "SCM";
public static final String MOD_NAME = "Six Core Mod";
public static final String CHANNEL_NAME = MOD_ID;
public static final String MOD_VERSION = "0";
public static final String CLIENT_PROXY = "com.basspro.scm.core.proxy.ClientProxy";
public... | .version 52 0
.class public super Reference
.super java/lang/Object
.field public static final MOD_ID Ljava/lang/String; = 'SCM'
.field public static final MOD_NAME Ljava/lang/String; = 'Six Core Mod'
.field public static final CHANNEL_NAME Ljava/lang/String; = 'SCM'
.field public static final MOD_VERSION Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:18:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:18:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,960 |
ExamCommittee | import java.io.Serializable;
public class ExamCommittee implements Serializable {
private String year;
private String session;
private String chairmanName;
private String chairmanEmail;
private String firstMemberName;
private String firstMemberEmail;
private String secondMemberName;
private String seco... | .version 52 0
.class public super ExamCommittee
.super java/lang/Object
.implements java/io/Serializable
.field private year Ljava/lang/String;
.field private session Ljava/lang/String;
.field private chairmanName Ljava/lang/String;
.field private chairmanEmail Ljava/lang/String;
.field private firstMemberName ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:34:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:34:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,961 |
ECPointFormat | /** RFC 4492 5.1.2 */
public class ECPointFormat {
public static final short uncompressed = 0;
public static final short ansiX962_compressed_prime = 1;
public static final short ansiX962_compressed_char2 = 2;
/*
* reserved (248..255)
*/
}
| .version 52 0
.class public super ECPointFormat
.super java/lang/Object
.field public static final uncompressed S = 0
.field public static final ansiX962_compressed_prime S = 1
.field public static final ansiX962_compressed_char2 S = 2
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:19:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:19:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,962 |
SLAPI | import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
/** SLAPI = Saving/Loading API API for Saving and Loading Objects. */
public class SLAPI {
public static void save(Object obj, File string) throws Exception {
... | .version 52 0
.class public super SLAPI
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:02:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import org.junit.runner.RunWit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:02:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,963 |
OperatorSelection | /*
* Copyright 2012 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | .version 52 0
.class public super OperatorSelection
.super java/lang/Object
.field private value Ljava/lang/String;
.field private displayText Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Obj... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:48:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:48:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,964 |
isumit | import java.io.*;
//
// File: isumit.java
// Purpose: to sum the integers from stdin
// Author: pc2@ecs.csus.edu or http://www.ecs.csus.edu/pc2
//
// Thu Oct 2 20:25:28 PDT 2003
//
// $Id: isumit.java,v 1.1 2005/03/06 05:34:39 laned Exp $
//
public class isumit {
public static void main(String[] args) {
tr... | .version 52 0
.class public super isumit
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:07:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:07:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,965 |
CustomDecimal | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | .version 52 0
.class public super CustomDecimal
.super java/lang/Object
.implements java/lang/Comparable
.field private final internalValue Ljava/math/BigDecimal;
.method public <init> : (Ljava/math/BigInteger;I)V
.code stack 5 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> (... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:40:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigInteger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:40:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,966 |
JsonPathFormatException |
public class JsonPathFormatException extends RuntimeException {
public JsonPathFormatException() {}
public JsonPathFormatException(String message) {
super(message);
}
public JsonPathFormatException(String message, Throwable cause) {
super(message, cause);
}
public JsonPathFormatException(Throwab... | .version 52 0
.class public super JsonPathFormatException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 7
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:12:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:12:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,967 |
LoadPlayers | /** Created by Tim on 2015-06-07. */
public class LoadPlayers {
String query;
String playerType;
public LoadPlayers(String query, String playerType) {
this.query = query;
this.playerType = playerType;
}
public String getQuery() {
return query;
}
public String getPlayerType() {
return pl... | .version 52 0
.class public super LoadPlayers
.super java/lang/Object
.field query Ljava/lang/String;
.field playerType Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:48:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:48:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,968 |
Prediction | public class Prediction implements Comparable<Prediction> {
private int m_index;
private boolean m_positive;
private String m_prediction;
private Double m_confidence;
private Double m_rank;
public Prediction(
final int index,
final boolean positive,
final String prediction,
final D... | .version 52 0
.class public super Prediction
.super java/lang/Object
.implements java/lang/Comparable
.field private m_index I
.field private m_positive Z
.field private m_prediction Ljava/lang/String;
.field private m_confidence Ljava/lang/Double;
.field private m_rank Ljava/lang/Double;
.method public <init... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:56:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:56:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,969 |
DaoReturnToLog | import java.util.HashMap;
/** Created by jijingyu625 on 2016/5/2. */
class DaoReturnToLog extends HashMap {
public DaoReturnToLog(String variableType, String variable, String methodName) {
if (variableType.contains("List")) {
put("isList", true);
} else {
put("isList", false);
}
put("met... | .version 52 0
.class super DaoReturnToLog
.super java/util/HashMap
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/util/HashMap <init> ()V
L4: aload_1
L5: ldc 'List'
L7: invokevirtual Met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:28:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:28:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,970 |
TestUUID | import java.util.UUID;
public class TestUUID {
public static void main(String[] args) {
System.out.println(UUID.randomUUID().toString().length());
}
}
| .version 52 0
.class public super TestUUID
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:51:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:51:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,971 |
CommandType | /*
* Copyright (c) 2011-2019 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
* which is available at https:... | .version 52 0
.class public final super CommandType
.super java/lang/Object
.field public static final COM_QUIT B = 1
.field public static final COM_INIT_DB B = 2
.field public static final COM_QUERY B = 3
.field public static final COM_STATISTICS B = 9
.field public static final COM_DEBUG B = 13
.field public ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:02:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:02:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,972 |
CriteriaUtils | /*
* Copyright 2013-2016 iNeunet OpenSource and the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | .version 52 0
.class super CriteriaUtils
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
.end linenumbertable
.end code
.end method... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:35:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:35:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,973 |
Utilities | /*
* File Name: Utilities.java
* Copyright 2015, Opex Software
* Apache License, Version 2.0
* This file contains the utility methods frequently used by the step definitions
*/
import java.util.Random;
public class Utilities {
public static String generateRandomString(int length) {
char[] chars = "abcdefg... | .version 52 0
.class public super Utilities
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:36:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:36:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,974 |
CPValidatorTrustAnchor | /*
* Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | .version 52 0
.class public super CPValidatorTrustAnchor
.super java/lang/Object
.field static selfSignedCertStr Ljava/lang/String;
.field static trustAnchor_SHA1withRSA_1024 Ljava/lang/String;
.field static trustAnchor_SHA1withRSA_512 Ljava/lang/String;
.field static trustAnchor_MD2withRSA_2048 Ljava/lang/String... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:02:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Futur... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:02:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,975 |
Production7080 | public class Production7080 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production7080
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:11:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:11:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,976 |
Validites | public class Validites {
private String typeValidite;
private int idValidite;
public Validites(int idValidite, String typeValidite) {
this.typeValidite = typeValidite;
this.idValidite = idValidite;
}
public String getTypeValidite() {
return typeValidite;
}
public void setTypeValidite(Strin... | .version 52 0
.class public super Validites
.super java/lang/Object
.field private typeValidite Ljava/lang/String;
.field private idValidite I
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5:... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:06:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:06:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,977 |
MyBean | /*
* Copyright 2009-2012 The MyBatis Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | .version 52 0
.class public super MyBean
.super java/lang/Object
.field private myList Ljava/util/List;
.field private myArray [Ljava/lang/Object;
.field private intArray [I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:30:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:30:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,978 |
RandomLookup | import java.util.Random;
// TODO rename 2D
public class RandomLookup {
private int width, height;
private float[] values;
public RandomLookup(Random random, int width, int height) {
super();
this.width = width;
this.height = height;
values = new float[width * height];
for (int y = 0; y < he... | .version 52 0
.class public super RandomLookup
.super java/lang/Object
.field private width I
.field private height I
.field private values [F
.method public <init> : (Ljava/util/Random;II)V
.code stack 3 locals 6
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:36:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.R... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:36:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,979 |
Constants | /*****************************************************************************
* This file is part of the Queens@TUD solver suite
* for enumerating and counting the solutions of an N-Queens Puzzle.
*
* Copyright (C) 2008-2015
* Thomas B. Preusser <thomas.preusser@utexas.edu>
*********************************... | .version 52 0
.class final super Constants
.super java/lang/Object
.field public static final FETCH_CASES B = 1
.field public static final ANNOUNCE_SOLVER B = 2
.field public static final REPORT_RESULT B = 3
.field public static final DENOUNCE_SOLVER B = 4
.method private <init> : ()V
.code stack 1 locals ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:01:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:01:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 143,980 |
Solution | import java.util.HashMap;
import java.util.Map;
/**
* Given a pattern and a string str, find if str follows the same pattern.
*
* <p>Here follow means a full match, such that there is a bijection between a letter in pattern and
* a non-empty word in str.
*
* <p>Examples: pattern = "abba", str = "dog cat cat dog"... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 21
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:53:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:53:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,981 |
NamePattern | /**
* Copyright 2011-2021 Asakusa Framework Team.
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicab... | .version 52 0
.class public super NamePattern
.super java/lang/Object
.implements java/util/function/Predicate
.field public static final WILDCARD C = 42
.field public static final EMPTY LNamePattern;
.field private final alternatives Ljava/util/Set; .fieldattributes
.signature Ljava/util/Set<Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:02:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.CharBuffer;
import java.util.Set;
import java.util.function.Predicate;
import org.evosuite.runtime.Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:02:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,982 |
ParameterValueEvent | /*******************************************************************************
* Copyright (c) 2012 Pivotal Software, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availa... | .version 52 0
.class public super ParameterValueEvent
.super java/lang/Object
.field private value Ljava/lang/Object;
.method public <init> : (Ljava/lang/Object;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:44:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:44:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,983 |
CDValue | import java.util.Scanner;
public class CDValue {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("Enter the initial deposit amount: ");
double depositAmount = input.nextDouble();
while (depositAmount < 0.0) {
System.out.print("Enter the initi... | .version 52 0
.class public super CDValue
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:49:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:49:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,984 |
XEuclid | // -----BEGIN DISCLAIMER-----
/*******************************************************************************
* Copyright (c) 2011, 2021 JCrypTool Team and Contributors
*
* All rights reserved. This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which... | .version 52 0
.class public super XEuclid
.super java/lang/Object
.field private r Ljava/util/Vector; .fieldattributes
.signature Ljava/util/Vector<Ljava/math/BigInteger;>;
.end fieldattributes
.field private q Ljava/util/Vector; .fieldattributes
.signature Ljava/util/Vector<Ljava/math/BigInteger;>;
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:26:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.math.BigInteger;
import java.util.Vector;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:26:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,985 |
Primo | import java.util.Scanner;
public class Primo {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int primo;
int cont = 0;
System.out.println("Digite um numero: ");
primo = sc.nextInt();
int x = primo;
while (x > 0) {
if (primo % x == 0) {
cont+... | .version 52 0
.class public super Primo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:57:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:57:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,986 |
Type | import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
public abstract class Type {
protected Map<String, Object> unknownProperties;
/**
* Get all unknown properties (or an empty map). The result of mutating the resulting map is
* undefined and may result in an error.
*/
public ... | .version 52 0
.class public super abstract Type
.super java/lang/Object
.field protected unknownProperties Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:58:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:58:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 143,987 |
Solution | import java.util.HashMap;
public class Solution {
public boolean isAnagram(String s, String t) {
if (s.length() != t.length()) return false;
if (s.equals(t)) return true;
HashMap<Character, Integer> map = new HashMap<Character, Integer>();
for (int i = 0; i < s.length(); i++) {
boolean flag = m... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:26:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:26:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,988 |
Item | /**
* Copyright 2009-2015 the original author or authors.
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by ... | .version 52 0
.class public super Item
.super java/lang/Object
.field private id Ljava/lang/Integer;
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:24:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:24:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,989 |
PrayTime | // --------------------- Copyright Block ----------------------
/*
PrayTime.java: Prayer Times Calculator (ver 1.0)
Copyright (C) 2007-2010 PrayTimes.org
Java Code By: Hussain Ali Khan
Original JS Code By: Hamid Zarrabi-Zadeh
License: GNU LGPL v3.0
TERMS OF USE:
Permission is granted to use this code, with or
wit... | .version 52 0
.class public super PrayTime
.super java/lang/Object
.field private calcMethod I
.field private asrJuristic I
.field private dhuhrMinutes I
.field private adjustHighLats I
.field private timeFormat I
.field private lat D
.field private lng D
.field private timeZone D
.field private JDate D
.fi... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:09:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.ZonedDateTime;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Linke... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:09:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,990 |
Demo | import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
public class Demo {
/**
* @param args
* @throws FileNotFoundException
*/
public static void main(String[] args) throws Exception {
// 1. ÔÚÄÚ´æÖгõʼ»¯ÁËÒ»¸öfile¶ÔÏó
File file = new File("C:\\info.txt");
... | .version 52 0
.class public super Demo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:15:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:15:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,991 |
ImageItem | import java.io.Serializable;
/**
* ================================================ 作 者:jeasonlzy(廖子尧
* Github地址:https://github.com/jeasonlzy0216 版 本:1.0 创建日期:2016/5/19 描 述:图片信息 修订历史:
* ================================================
*/
public class ImageItem implements Serializable {
public String name; // 图片... | .version 52 0
.class public super ImageItem
.super java/lang/Object
.implements java/io/Serializable
.field public name Ljava/lang/String;
.field public path Ljava/lang/String;
.field public size J
.field public width I
.field public height I
.field public mimeType Ljava/lang/String;
.field public addTime J
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:45:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:45:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,992 |
Timing | /*
* Timing.java
*
* Created on June 3, 2007, 4:32 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
import java.text.DateFormatSymbols;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Locale;
import java.util.TimeZone;
/**
... | .version 52 0
.class public super Timing
.super java/lang/Object
.field static locale Ljava/util/Locale;
.field static format Ljava/text/DateFormatSymbols;
.field private static final DATE_FORMAT Ljava/lang/String; = 'yyyy-MM-dd HH:mm:ss'
.field private static final DATE_FORMAT_2 Ljava/lang/String; = 'MM-dd-yyyy'... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:03:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:03:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,993 |
PreIncArrayItem | /**
* Copyright (c) 2016 - 2018 Syncleus, Inc.
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable ... | .version 52 0
.class public super PreIncArrayItem
.super java/lang/Object
.field static final START_SIZE I = 128
.field public values [I
.field public results [I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:47:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:47:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,994 |
Haversine | /** Created by Ian Patterson on 7/7/2017. */
public class Haversine {
public static final double R = 6372.8; // In kilometers
// From Rosetta Code
// https://rosettacode.org/wiki/Haversine_formula#Java
public static double haversine(double lat1, double lon1, double lat2, double lon2) {
double dLat = Math.t... | .version 52 0
.class public super Haversine
.super java/lang/Object
.field public static final R D = +6372.8
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:08:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:08:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,995 |
Range | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | .version 52 0
.class public super Range
.super java/lang/Object
.field private offset I
.field private limit I
.method private <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_m1
L6: putfield Field Range limit... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:28:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:28:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 143,996 |
SensorCategory | public class SensorCategory {
private String sensorCategoryName;
private String purpose;
public SensorCategory(String sensorCategoryName) {
this.sensorCategoryName = sensorCategoryName;
}
public SensorCategory(String sensorCategoryName, String purpose) {
this.sensorCategoryName = sensorCategoryName;... | .version 52 0
.class public super SensorCategory
.super java/lang/Object
.field private sensorCategoryName Ljava/lang/String;
.field private purpose Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> (... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:40:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:40:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,997 |
RDFSRequest | import java.util.List;
/**
* Example:
*
* <p>{ "uris":[ { "uri":"uri of a rdf ressource" } ] }
*
* @author Stefan Zwicklbauer
*/
public class RDFSRequest {
private List<String> uris;
public List<String> getUris() {
return this.uris;
}
public void setUris(final List<String> uris) {
this.uris = ... | .version 52 0
.class public super RDFSRequest
.super java/lang/Object
.field private uris Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Obj... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:45:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:45:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,998 |
LazyObject1 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | .version 52 0
.class public super LazyObject1
.super java/lang/Object
.field public static intStaticField I
.field public static intStaticField2 I
.field public intField I
.field public intField2 I
.field public static staticMapField Ljava/util/Map;
.field public mapField Ljava/util/Map;
.method public static... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:55:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:55:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.