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 |
|---|---|---|---|---|---|
IDNP | /*
* Copyright 2012 The Apache Software Foundation.
*
* 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 applica... | .version 52 0
.class public super IDNP
.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 27
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:05:39 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 06:05:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,200 |
DateUtils | /**
* Licensed to Cloudera, Inc. under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Cloudera,
* Inc. licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not
* use this file ... | .version 52 0
.class public super DateUtils
.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 34
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:14:00 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.text.MockSimpleDateFormat;
import org.evosu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:14: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;
... | 139,201 |
ResponseReceivedEventArgs | /**
* @author Jordan Martin & Jonathan Taws
*/
public class ResponseReceivedEventArgs {
// Byte array of the data received from the EV3 brick.
byte[] report;
public byte[] get() {
return report;
}
public void setReport(byte[] report) {
this.report = report;
}
}
| .version 52 0
.class public super ResponseReceivedEventArgs
.super java/lang/Object
.field report [B
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:02: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 20:02: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;
... | 139,202 |
Human | public class Human {
static int head = 1;
int arms;
static int chest = 1;
int legs;
int feet;
String name;
public Human(String name, int arms, int legs, int feet) {
this.arms = arms;
this.legs = legs;
this.feet = feet;
this.name = name;
}
public void startWalk(int distance, int speed... | .version 52 0
.class public super Human
.super java/lang/Object
.field static head I
.field arms I
.field static chest I
.field legs I
.field feet I
.field name Ljava/lang/String;
.method public <init> : (Ljava/lang/String;III)V
.code stack 2 locals 5
L0: aload_0
L1: invokespecial Method java/l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:44:52 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:44: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;
... | 139,203 |
Main | // import com.arialyy.absadapter.annotation.AbsType;
// @AbsType(type = 1, delegate = Main.class)
public class Main {
public static void main(String[] args) {
// write your code here
}
}
| .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 6
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:35: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 13:35: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;
... | 139,204 |
TimeUtil | import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.TimeUnit;
public class TimeUtil {
public long getTimeDiffFromNow(String date1Text) {
Date date1 = null;
Date date2 = new Date();
SimpleDateFormat format = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy");
try {
... | .version 52 0
.class public super TimeUtil
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:42:37 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 20:42: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;
... | 139,205 |
SqlJetVersion | /**
* SqlJetVersion.java Copyright (C) 2009-2013 TMate Software Ltd
*
* <p>This program 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; version 2 of the
* License.
*
* <p>This program is distributed in th... | .version 52 0
.class public super SqlJetVersion
.super java/lang/Object
.field private static PROPERTIES_PATH Ljava/lang/String;
.field private static ourProperties Ljava/util/Properties;
.field private static final VERSION_MAJOR_PROPERTY Ljava/lang/String; = 'sqljet.version.major'
.field private static final VER... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:30:11 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:30:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,206 |
happy | class happy {
public static void main(int n) {
int a = n, d, c = 0, m = 0, i;
for (i = 1; i < n; i++) {
m = 0;
c = 0;
d = 0;
while (n != 0) {
d = n % 10;
c = d * d;
m = m + c;
n = n / 10;
}
n = m;
}
if (m == 1) System.out.println("it ... | .version 52 0
.class super happy
.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 1
.end linenumbertable
.end code
.end method
.metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:13: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 15:13: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;
... | 139,207 |
TinyChatListener | import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;
public class TinyChatListener {
// client/server stuff
private DataOutputStream serverOut;
private BufferedReader serverIn;
@SuppressWarnings("unused")
privat... | .version 52 0
.class public super TinyChatListener
.super java/lang/Object
.field private serverOut Ljava/io/DataOutputStream;
.field private serverIn Ljava/io/BufferedReader;
.field private host Ljava/lang/String;
.field private clientSocket Ljava/net/Socket;
.method public <init> : (Ljava/lang/String;)V
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:25:03 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.testdata.EvoSuiteRemoteAddress;
import org.evosuite.r... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:25: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;
... | 139,208 |
JSONUtils | import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
/**
* @author ribadas
*/
public class JSONUtils {
/**
* Parsea una cadena en el formato JSON simplificado y devuelve los pares clave-valor en un
* Map<String,String>
*/
public static Map<String, String> json2map(String json) {
... | .version 52 0
.class public super JSONUtils
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:32:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.HashMap;
import java.util.Map;
import java.util.NoSuchElementException;
import org.evosuite.runtime.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:32: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;
... | 139,209 |
RoleForm | public class RoleForm {
private String id;
private String name;
private String description;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
public String getName() {
return name;
}
public void setName(String name) {
... | .version 52 0
.class public super RoleForm
.super java/lang/Object
.field private id Ljava/lang/String;
.field private name Ljava/lang/String;
.field private description Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <ini... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:19: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
* Fri Jul 01 14:19: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;
... | 139,210 |
NullOutputStream | /*
############################################################################
##
## Copyright (C) 2006-2009 University of Utah. All rights reserved.
##
## This file is part of DeepPeep.
##
## This file may be used under the terms of the GNU General Public
## License version 2.0 as published by the Free Software Found... | .version 52 0
.class public super NullOutputStream
.super java/io/OutputStream
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/io/OutputStream <init> ()V
L4: return
L5:
.linenumbertable
L0 36
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:56: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 18:56: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;
... | 139,211 |
HeaderInfo | /*******************************************************************************
* This file is part of SQLCoach.
*
* SQLCoach is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of th... | .version 52 0
.class public super HeaderInfo
.super java/lang/Object
.field public static final SEPARATOR Ljava/lang/String; = ' - '
.field private static final DEFAULT_TITLE_TAG Ljava/lang/String; = 'header.empty'
.field private static titleTag Ljava/lang/String;
.method public <init> : ()V
.code stack 1 l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:07:30 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 22:07: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;
... | 139,212 |
MyFunctionExecutionException | /*
* 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 ... | .version 52 0
.class public super MyFunctionExecutionException
.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 26
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:37: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.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:37: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;
... | 139,213 |
BattleVariables | import java.util.HashMap;
public class BattleVariables {
private HashMap<Object, Integer> variables = new HashMap<Object, Integer>();
private HashMap<Object, Boolean> booleans = new HashMap<Object, Boolean>();
public int get(Object type) {
if (variables.containsKey(type)) return variables.get(type);
ret... | .version 52 0
.class public super BattleVariables
.super java/lang/Object
.field private variables Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/Object;Ljava/lang/Integer;>;
.end fieldattributes
.field private booleans Ljava/util/HashMap; .fieldattributes
.signature Ljava/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:47: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
* Fri Jul 01 14:47: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;
... | 139,214 |
IoUtils | /*
* Copyright (C) 2010 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 app... | .version 52 0
.class public final super IoUtils
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
L4 25
.end linenumbe... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:41:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.Closeable;
import java.io.FileDescriptor;
import org.evosuite.run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:41: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;
... | 139,215 |
Challenges | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* This program 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.
*
* T... | .version 52 0
.class public super Challenges
.super java/lang/Object
.field public static final NO_FOOD I = 1
.field public static final NO_ARMOR I = 2
.field public static final NO_HEALING I = 4
.field public static final NO_HERBALISM I = 8
.field public static final SWARM_INTELLIGENCE I = 16
.field public sta... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:28: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
* Sun Jul 03 22:28: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;
... | 139,216 |
FreqCandidates | import java.util.HashMap;
public class FreqCandidates {
private String AllText;
private String NavigationString;
private String ValueString;
private HashMap<String, Integer> counter = new HashMap<String, Integer>();
private int count;
public String getAllText() {
return AllText;
}
public void set... | .version 52 0
.class public super FreqCandidates
.super java/lang/Object
.field private AllText Ljava/lang/String;
.field private NavigationString Ljava/lang/String;
.field private ValueString Ljava/lang/String;
.field private counter Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:32:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:32: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;
... | 139,217 |
AutoCompleterItem | public class AutoCompleterItem {
public AutoCompleterItem(String payload, String[] extras, int replacementLength) {
this.payload = payload;
this.extras = extras;
this.cursorAdjust = 0;
this.keepSelection = false;
this.replacementLength = replacementLength;
}
public AutoCompleterItem(
S... | .version 52 0
.class public super AutoCompleterItem
.super java/lang/Object
.field public final payload Ljava/lang/String;
.field public final extras [Ljava/lang/String;
.field public final cursorAdjust I
.field public final keepSelection Z
.field public final replacementLength I
.method public <init> : (Ljava... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:46: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
* Sat Jul 02 19:46: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;
... | 139,218 |
StringConstants | /*
* Copyright 2011 Ken Gilmer
*
* 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 agr... | .version 52 0
.class public final super StringConstants
.super java/lang/Object
.field public static final CRLF Ljava/lang/String;
.field public static final TAB Ljava/lang/String; = ' \t'
.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
* Mon Jul 04 12:09: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
* Mon Jul 04 12:09: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;
... | 139,219 |
GeneralizerLevelScene | /*
* Copyright (c) 2009-2010, Sergey Karakovskiy and Julian Togelius
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
*... | .version 52 0
.class public super GeneralizerLevelScene
.super java/lang/Object
.field public static final CANNON_MUZZLE I = -82
.field public static final CANNON_TRUNK I = -80
.field public static final COIN_ANIM I = 1
.field public static final BREAKABLE_BRICK I = -20
.field public static final UNBREAKABLE_BRI... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:31:00 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 11:31: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;
... | 139,220 |
Persona | public class Persona {
private int edad;
private float altura;
private String nombre;
public Persona(String nombre) { // sobrecarga de constructores!
this(nombre, 0f);
// this.nombre = nombre;
}
public Persona(String nomb, float altura) {
this(nomb, altura, 0); // =?
// this.nombre = nom... | .version 52 0
.class public super Persona
.super java/lang/Object
.field private edad I
.field private altura F
.field private nombre Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: aload_1
L2: fconst_0
L3: invokespecial Method Pers... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:40: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
* Fri Jul 01 14:40: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;
... | 139,221 |
Solution | // https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/
class Solution {
public int[] smallerNumbersThanCurrent(int[] nums) {
int[] mins = new int[nums.length];
for (int i = 0; i < nums.length; ++i) {
mins[i] = 0;
for (int j = 0; j < nums.length; ++j) {
if... | .version 52 0
.class super Solution
.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 3
.end linenumbertable
.end code
.end method
.me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:47:20 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 21:47: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;
... | 139,222 |
CustomMath | import java.awt.geom.Point2D;
public class CustomMath {
public static boolean isNearLine(Point2D p0, Point2D p1, Point2D p2, Point2D p3) {
double a = p3.getY() - p0.getY();
double b = -(p3.getX() - p0.getX());
double c = -(p0.getX() * a + p0.getY() * b);
double closeConstant = 0.03125;
if (calDi... | .version 52 0
.class public super CustomMath
.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
* Mon Jul 04 03:37:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.geom.Point2D;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunne... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:37: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;
... | 139,223 |
MathQuizExpanded | import java.util.Scanner;
public class MathQuizExpanded {
public static void main(String[] args) {
// declare some constants to clean up our code below
final String QUESTION =
"What type of problem would you like to solve (1 for Addition or 2 for Subtraction)? ";
final String CORRECT = "CORRECT... | .version 52 0
.class public super MathQuizExpanded
.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
* Fri Jul 01 23:11:21 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 23:11: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;
... | 139,224 |
Twist1 | public class Twist1 {
public static void main(String[] args) {
int sum = 2, i;
int[] v = new int[34];
v[0] = 1;
v[1] = 2;
for (i = 2; i < 34; i++) {
v[i] = v[i - 1] + v[i - 2];
if (v[i] % 2 == 0) sum = sum + v[i];
}
System.out.println(sum);
}
}
| .version 52 0
.class public super Twist1
.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
* Fri Jul 01 06:24: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 06:24: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;
... | 139,225 |
sisleye | // This file is automatically generated.
/*
* Lenovo S90
*
* DEVICE: sisleye
* MODEL: Lenovo S90-e
*/
final class sisleye {
public static final String DATA = "Lenovo|S90|";
}
| .version 52 0
.class final super sisleye
.super java/lang/Object
.field public static final DATA Ljava/lang/String; = 'Lenovo|S90|'
.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 05:24:16 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 05:24: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;
... | 139,226 |
OrganizerCompany | import java.util.LinkedList;
import java.util.List;
public class OrganizerCompany {
public String Organizer;
public List<String> Companies = new LinkedList<String>();
OrganizerCompany(String o, String c) {
Organizer = o;
AddCom(c);
}
public void AddCom(String c) {
int find;
for (find = 0; ... | .version 52 0
.class public super OrganizerCompany
.super java/lang/Object
.field public Organizer Ljava/lang/String;
.field public Companies Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method <init> : (Ljava/lang/String;Ljava/lang/String;)V
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:01:14 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 08:01:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,227 |
InvalidGlycosidicOrientationException | /**
* Copyright (c) 2011 William Greenwood Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to use, copy, modify,
* merge, publis... | .version 52 0
.class public super InvalidGlycosidicOrientationException
.super java/lang/Exception
.field private static final serialVersionUID J = -1725862622256733353L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: re... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:28:11 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:28:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,228 |
TestdataObjectEquals | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* 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 ap... | .version 52 0
.class public super TestdataObjectEquals
.super java/lang/Object
.field private final id Ljava/lang/Integer;
.method public <init> : (Ljava/lang/Integer;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:45: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
* Mon Jul 04 05:45: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;
... | 139,229 |
NewPerson | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author fboulay
*/
public class NewPerson {
public long id;
public String firstName;
public String lastName;
}
| .version 52 0
.class public super NewPerson
.super java/lang/Object
.field public id J
.field public firstName Ljava/lang/String;
.field public lastName Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: r... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:41: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
* Sun Jul 03 20:41: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;
... | 139,230 |
QueryBusinessBean | import java.util.Date;
/**
* @author Presley
* @date 8 May 2014 06:34:52
* @version 1.0 #QueryBusinessBean
*/
public class QueryBusinessBean {
private Date solddate;
private String goodname;
private String goodsclass;
private int salenum;
private double saleamount;
public Date getSolddate() {
retu... | .version 52 0
.class public super QueryBusinessBean
.super java/lang/Object
.field private solddate Ljava/util/Date;
.field private goodname Ljava/lang/String;
.field private goodsclass Ljava/lang/String;
.field private salenum I
.field private saleamount D
.method public <init> : ()V
.code stack 1 locals... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:12:49 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
* Fri Jul 01 21:12: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;
... | 139,231 |
GetRoleResponse | import java.util.Date;
/**
* Get all details about a role
*
* <p>See https://schemas.taskcluster.net/auth/v1/get-role-response.json#
*/
public class GetRoleResponse {
/**
* Date and time when this role was created
*
* <p>See https://schemas.taskcluster.net/auth/v1/get-role-response.json#/properties/cre... | .version 52 0
.class public super GetRoleResponse
.super java/lang/Object
.field public created Ljava/util/Date;
.field public description Ljava/lang/String;
.field public expandedScopes [Ljava/lang/String;
.field public lastModified Ljava/util/Date;
.field public roleId Ljava/lang/String;
.field public scopes ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:50: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
* Mon Jul 04 12:50: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;
... | 139,232 |
Item | import java.util.Date;
/**
* Item class.
*
* @author Yury Chuksin (chuksinyury.gmail.com)
* @since 18.02.2017
*/
public class Item {
/** name name of Item. */
private String name;
/** description short describe of Item. */
private String description;
/** time date of create Item. */
private long ti... | .version 52 0
.class public super Item
.super java/lang/Object
.field private name Ljava/lang/String;
.field private description Ljava/lang/String;
.field private time J
.field private comment Ljava/lang/String;
.field private id Ljava/lang/String;
.field private date Ljava/util/Date;
.method public <init> : ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:14:53 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.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:14: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;
... | 139,233 |
Colors | import java.util.Arrays;
import java.util.List;
public class Colors {
public static List<String> colors =
Arrays.asList(
"#36c9c9", "#B34F87", "#DF6562", "#6C4683", "#A9D05C", "#98B65D", "#DFBF62", "#E7DD76",
"#69BC53", "#3E8C81", "#B13A48", "#c9c936", "#4F87B3", "#6562DF", "#836C46", "#D05... | .version 52 0
.class public super Colors
.super java/lang/Object
.field public static colors 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/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:00: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 06:00: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;
... | 139,234 |
EventType | /** Created by davidbrodsky on 6/26/15. */
public class EventType {
public String abbr;
public String label;
}
| .version 52 0
.class public super EventType
.super java/lang/Object
.field public abbr Ljava/lang/String;
.field public label 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:
.lin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:35: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
* Fri Jul 01 10:35: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;
... | 139,235 |
WrappedRuntimeException | /*******************************************************************************
* Copyright (c) 2000, 2014 IBM Corporation and others.
* 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, an... | .version 52 0
.class public super WrappedRuntimeException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.field private target Ljava/lang/Throwable;
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method ja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:16:50 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 14:16: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;
... | 139,236 |
Except | public class Except {
public static void main(String[] args) {
try {
Integer a = 0;
a /= a;
} catch (NullPointerException ex) {
System.out.println("nullPointer");
} catch (Exception ex) {
System.out.println("exception");
} finally {
System.out.println("finally");
}
... | .version 52 0
.class public super Except
.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
* Sat Jul 02 01:46:14 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:46:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,237 |
ErrorConstants | public final class ErrorConstants {
public static final String ERR_CONCURRENCY_FAILURE = "error.concurrencyFailure";
public static final String ERR_ACCESS_DENIED = "error.accessDenied";
public static final String ERR_VALIDATION = "error.validation";
public static final String ERR_METHOD_NOT_SUPPORTED = "error.... | .version 52 0
.class public final super ErrorConstants
.super java/lang/Object
.field public static final ERR_CONCURRENCY_FAILURE Ljava/lang/String; = 'error.concurrencyFailure'
.field public static final ERR_ACCESS_DENIED Ljava/lang/String; = 'error.accessDenied'
.field public static final ERR_VALIDATION Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:31: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
* Fri Jul 01 06:31:33 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... | 139,238 |
PathSplitter | /** */
public class PathSplitter {
private int itemIdMaxSubpathCount;
private int itemIdMaxSubpathLength;
private int itemIdMaxSplit;
public PathSplitter() {
this(3, 2);
}
public PathSplitter(int itemIdMaxSubpathCount, int itemIdMaxSubpathLength) {
this.itemIdMaxSubpathCount = itemIdMaxSubpathCou... | .version 52 0
.class public super PathSplitter
.super java/lang/Object
.field private itemIdMaxSubpathCount I
.field private itemIdMaxSubpathLength I
.field private itemIdMaxSplit I
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: iconst_3
L2: iconst_2
L3: invokespecial... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:46:00 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:46: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;
... | 139,239 |
InvalidHashException | /**
* Copyright 2009 Google 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 law or agreed ... | .version 52 0
.class public super InvalidHashException
.super java/lang/Exception
.method public <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:
.linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:33: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
* Sat Jul 02 02:33: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;
... | 139,240 |
Project | /**
* Workspace class
*
* <p>Created by cutoutsy on 8/5/15.
*/
public class Project {
private int id;
private String wid;
private String pid;
private String name;
private String description;
private String datasource; // 项目的在redis中的数据源
private String schedule; // 项目定时策略
private String precondition;... | .version 52 0
.class public super Project
.super java/lang/Object
.field private id I
.field private wid Ljava/lang/String;
.field private pid Ljava/lang/String;
.field private name Ljava/lang/String;
.field private description Ljava/lang/String;
.field private datasource Ljava/lang/String;
.field private sche... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:37: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
* Mon Jul 04 11:37: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;
... | 139,241 |
FourDPoint | import java.util.Objects;
/*
* Represents a <x, y, z, w> point.
*/
public class FourDPoint {
public FourDPoint(int x, int y, int z, int w) {
_x = x;
_y = y;
_z = z;
_w = w;
}
protected FourDPoint(FourDPoint toCopy) {
_x = toCopy._x;
_y = toCopy._y;
_z = toCopy._z;
_w = toCopy.... | .version 52 0
.class public super FourDPoint
.super java/lang/Object
.field protected _x I
.field protected _y I
.field protected _z I
.field protected _w I
.method public <init> : (IIII)V
.code stack 2 locals 5
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 15:17: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 15:17: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;
... | 139,242 |
OptEvaluatorUtil | public class OptEvaluatorUtil {}
| .version 52 0
.class public super OptEvaluatorUtil
.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 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:19: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
* Sat Jul 02 00:19: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;
... | 139,243 |
Main | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main {
public static boolean valid(int[] pop, int popPerBox, int B) {
int boxNeeded = 0;
for (int n = 0; n < pop.length; n++) {
boxNeeded += (pop[n] / popPerBox);
if (pop[n] % popPerBox != 0)... | .version 52 0
.class super Main
.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 5
.end linenumbertable
.end code
.end method
.method... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:29:54 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 05:29: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;
... | 139,244 |
Person | /**
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* <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 Person
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 5L
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <ini... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:09: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
* Sat Jul 02 00:09: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;
... | 139,245 |
Crawler | import java.util.List;
public abstract class Crawler {
private boolean isInitialized;
public abstract void fetch(List<String> queries);
/**
* @return the isInitialized
*/
public boolean isInitialized() {
return isInitialized;
}
/**
* @param isInitialized the isInitialized to set
*/
pu... | .version 52 0
.class public super abstract Crawler
.super java/lang/Object
.field private isInitialized 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
L0 5
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:10: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 11:10:54 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... | 139,246 |
ImportancePropertyViewModel | /*
* 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.
*/
/**
* @author KMY
*/
public class ImportancePropertyViewModel {}
| .version 52 0
.class public super ImportancePropertyViewModel
.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... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:24: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
* Mon Jul 04 00:24:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,247 |
AreaAndPerimeterOfACircle | import java.util.Scanner;
public class AreaAndPerimeterOfACircle {
// Write a program that calculates the area and perimeter of a circle.
// Let the user enter the radius.
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("This program calculates the ... | .version 52 0
.class public super AreaAndPerimeterOfACircle
.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 03:10:33 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 03:10: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;
... | 139,248 |
Utf8 | /**
* 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 Utf8
.super java/lang/Object
.method private <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 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:15: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 05:15: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;
... | 139,249 |
Solution | import java.util.Scanner;
/** Created by aspanu on 2016-05-21 https://www.hackerrank.com/challenges/find-digits */
public class Solution {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int numCases = scanner.nextInt();
for (int i = 0; i < numCases; i++) {
int... | .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 8
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:02:46 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 19:02: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;
... | 139,250 |
Contents | /** Created by Antony on 14-2-21. */
public class Contents {}
| .version 52 0
.class public super Contents
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:02:57 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 19:02: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;
... | 139,251 |
F2 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Placeholder for Feature.
*
* @author twak
*/
public class F2 {}
| .version 52 0
.class public super F2
.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 met... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:00: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
* Sun Jul 03 16:00: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;
... | 139,252 |
MalFormattedFunctionException | public class MalFormattedFunctionException extends Exception {
public MalFormattedFunctionException(String function) {
super("This API function (" + function + ") does not exist.");
}
}
| .version 52 0
.class public super MalFormattedFunctionException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: new java/lang/StringBuilder
L4: dup
L5: invokespecial Method java/lang/StringBuilder <init> ()V
L8: ldc 'This ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:07: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
* Sun Jul 03 20:07:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,253 |
Version | import java.io.InputStream;
import java.util.Properties;
public final class Version {
private String version;
private String groupId;
private String artifactId;
private Properties prop;
public Version() {
InputStream resourceAsStream =
(InputStream) this.getClass().getResourceAsStream("/version... | .version 52 0
.class public final super Version
.super java/lang/Object
.field private version Ljava/lang/String;
.field private groupId Ljava/lang/String;
.field private artifactId Ljava/lang/String;
.field private prop Ljava/util/Properties;
.method public <init> : ()V
.code stack 3 locals 3
L0: alo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:38:11 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 21:38:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,254 |
Aggregation | public abstract class Aggregation {
public abstract String getAggregationName();
}
| .version 52 0
.class public super abstract Aggregation
.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 3
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:00: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
* Mon Jul 04 14:00: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... | 139,255 |
Javetest3 | public class Javetest3 {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("¡³¡³¡³¡³¡³¡³¡³¡³¡³¡³¡³¡³¡³¡³¡³");
System.out.println("¡³¡³¡³¡³¡´¡´¡³¡³¡³¡³¡³¡³¡³¡³¡³");
System.out.println("¡³¡³¡³¡´¡´¡´¡´¡³¡³¡³¡³¡³¡³¡³¡³");
System.out.println("¡³¡³¡³¡³¡´¡´¡³... | .version 52 0
.class public super Javetest3
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:55:16 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:55: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;
... | 139,256 |
LBInitializationException | public class LBInitializationException extends Exception {
public LBInitializationException(Throwable cause) {
super(cause);
}
public boolean workspaceDoesNotExist() {
return this.getMessage().contains("' does not exist.");
}
/** */
private static final long serialVersionUID = -718728910986121434... | .version 52 0
.class public super LBInitializationException
.super java/lang/Exception
.field private static final serialVersionUID J = -7187289109861214346L
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Except... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:07:29 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 16:07: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;
... | 139,257 |
SuppressionXpathRegressionRightCurlyFour | public class SuppressionXpathRegressionRightCurlyFour {
public void sample(boolean flag) {
if (flag) {
System.identityHashCode("heh");
flag = !flag;
}
String.CASE_INSENSITIVE_ORDER. // warn
equals("Xe-xe");
}
}
| .version 52 0
.class public super SuppressionXpathRegressionRightCurlyFour
.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 3
.end lin... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:23:44 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:23: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;
... | 139,258 |
Department | public class Department {
private String department_code, college_name, department_name;
public Department(String department_code, String college_name, String department_name) {
this.department_code = department_code;
this.college_name = college_name;
this.department_name = department_name;
}
publ... | .version 52 0
.class public super Department
.super java/lang/Object
.field private department_code Ljava/lang/String;
.field private college_name Ljava/lang/String;
.field private department_name Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stac... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:35: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 19:35: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;
... | 139,259 |
MinhaClasse | public class MinhaClasse {
public static void main(String[] args) {
if (args.length == 2) {
String nome = args[0];
String idade = args[1];
System.out.println("Olá, " + nome + " sua idade é: " + idade);
} else {
System.out.println("Informe nome e idade ao executar este programa.");
... | .version 52 0
.class public super MinhaClasse
.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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:43: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
* Mon Jul 04 04:43: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;
... | 139,260 |
JazzQAConstants | /**
* Gerado por Tags XDoclet do projeto Wizard J2EE<br>
* Propriedade intelectual de Darcio L Pacifico<br>
* <br>
* Classe de constantes do projeto
*/
public final class JazzQAConstants {
public static final String FORMATO_DATA_PADRAO = "dd/MM/yyyy";
public static final String FORMATO_DOUBLE = "###,###.00";
... | .version 52 0
.class public final super JazzQAConstants
.super java/lang/Object
.field public static final FORMATO_DATA_PADRAO Ljava/lang/String; = 'dd/MM/yyyy'
.field public static final FORMATO_DOUBLE Ljava/lang/String; = '###,###.00'
.field public static final FORMATO_FLOAT Ljava/lang/String; = '###,###.00'
.f... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:45: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
* Fri Jul 01 08:45: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... | 139,261 |
Crc | // $Id: Crc.java,v 1.4 2006/12/12 18:23:00 vlahan Exp $
/* tab:4
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agree... | .version 52 0
.class public super Crc
.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 34
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:53:56 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 13:53: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;
... | 139,262 |
Status | /*
* Copyright (C) 2000 - 2022 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | .version 52 0
.class public super Status
.super java/lang/Object
.field private id I
.field private userId I
.field private creationDate Ljava/util/Date;
.field private description Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:18:38 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 17:18:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,263 |
TestClass11 | /*
* 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 TestClass11
.super java/lang/Object
.field private param1 Ljava/util/List;
.field private param2 Ljava/util/ArrayList;
.field private param3 Ljava/util/Set;
.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
* Fri Jul 01 04:41:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runti... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:41: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;
... | 139,264 |
Author | public class Author {
private String name, email;
private char gender;
public Author(String name, String email, char gender) {
this.name = name;
this.email = email;
this.gender = gender;
}
public String toString() {
return name + " (" + gender + ") at " + email;
}
public String getEmai... | .version 52 0
.class public super Author
.super java/lang/Object
.field private name Ljava/lang/String;
.field private email Ljava/lang/String;
.field private gender C
.method public <init> : (Ljava/lang/String;Ljava/lang/String;C)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:27: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 22:27:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,265 |
Strings | /*
* Copyright 2014 Real Logic Ltd.
*
* 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 Strings
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:45:37 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 17:45: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;
... | 139,266 |
LongestHSubseq | import java.util.HashMap;
import java.util.Map;
/**
* Created by cuixiaodao on 11/18/2017 for leetCode problem:
* https://leetcode.com/problems/longest-harmonious-subsequence/description/
*/
public class LongestHSubseq {
public int findLHS(int[] nums) {
Map<Integer, Integer> numCntMap = new HashMap<Integer, I... | .version 52 0
.class public super LongestHSubseq
.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 co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:37:44 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 05:37: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;
... | 139,267 |
Solution | // github.com/RodneyShag
import java.util.Scanner;
// Runtime: O(n)
// Space Complexity: O(1)
public class Solution {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long sum = 0;
long min = Integer.MAX_VALUE;
long max = Integer.MIN_VALUE;
for (int i = 0;... | .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 7
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:30:45 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
* Sun Jul 03 17:30: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;
... | 139,268 |
ReturnResult | public class ReturnResult {
private int status;
private String msg;
private int msgCode;
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
... | .version 52 0
.class public super ReturnResult
.super java/lang/Object
.field private status I
.field private msg Ljava/lang/String;
.field private msgCode I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:51: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
* Fri Jul 01 08:51: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;
... | 139,269 |
ResourceException | /**
* @Project NewsPortlet : http://sourcesup.cru.fr/newsportlet/ Copyright (C) 2007-2008 University
* Nancy 1
*
* <p>This program 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 version 2 of the License.
*... | .version 52 0
.class public super ResourceException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:09: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 17:09: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;
... | 139,270 |
RSSException | /*
* Copyright (C) 2010 A. Horn
*
* 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 RSSException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <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
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:22: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.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:22: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;
... | 139,271 |
CommandBeanMockup | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | .version 52 0
.class public super CommandBeanMockup
.super java/lang/Object
.field script Ljava/lang/String;
.field htmlTable Ljava/lang/String;
.field number I
.field cool Ljava/lang/Boolean;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:39: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
* Mon Jul 04 05:39: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;
... | 139,272 |
Production8730 | public class Production8730 {
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 Production8730
.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
* Fri Jul 01 11:52: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 11:52: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;
... | 139,273 |
ToTest | public class ToTest {
public static int toTest() {
return 23;
}
public static int toTest2() {
return 42;
}
}
| .version 52 0
.class public super ToTest
.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
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:15:11 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:15:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,274 |
Constants | /**
* JBoss, Home of Professional Open Source. Copyright 2014-2022 Red Hat, Inc., and individual
* contributors as indicated by the @author tags.
*
* <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 Li... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final MAX_PAGE_SIZE I = 200
.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
* Mon Jul 04 05:01: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
* Mon Jul 04 05:01: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;
... | 139,275 |
GrammarTest | /** Created by abnerzheng on 2016/12/9. */
public class GrammarTest {
public static void main(String[] args) {
while (true) while (true) System.out.println("hehe");
}
}
| .version 52 0
.class public super GrammarTest
.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
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:38:55 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
* Sun Jul 03 19:38:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,276 |
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 19:22:38 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 19:22:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,277 |
BannerItem | public class BannerItem {
private String title; // 广告条标题
private String link; // 广告条链接
private String img; // 广告条封面地址
private boolean isAd;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getLink() {
return link;
}
... | .version 52 0
.class public super BannerItem
.super java/lang/Object
.field private title Ljava/lang/String;
.field private link Ljava/lang/String;
.field private img Ljava/lang/String;
.field private isAd Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:33: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 20:33: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;
... | 139,278 |
Elective | import java.util.HashMap;
import java.util.Map;
class Elective {
private String title;
private String description;
private String lecturer;
Elective(String title, String description, String lecturer) {
this.title = title;
this.description = description;
this.lecturer = lecturer;
}
public Stri... | .version 52 0
.class super Elective
.super java/lang/Object
.field private title Ljava/lang/String;
.field private description Ljava/lang/String;
.field private lecturer Ljava/lang/String;
.method <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1:... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:32:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class)... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:32: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;
... | 139,279 |
Queue | public class Queue {
private int maxSize;
private long[] queArray;
private int front, rear, nItems;
public Queue(int s) {
this.maxSize = s;
this.queArray = new long[maxSize];
this.front = 0;
this.rear = -1;
this.nItems = 0;
}
/**
* Put/Insert/Enqueue items into array
*
* @pa... | .version 52 0
.class public super Queue
.super java/lang/Object
.field private maxSize I
.field private queArray [J
.field private front I
.field private rear I
.field private nItems I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:14: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
* Mon Jul 04 16:14: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;
... | 139,280 |
PalindromeNumber | public class PalindromeNumber {
public boolean isPalindrome(int x) {
if (x < 0) return false;
int tmp = x;
int rev = 0;
while (tmp > 0) {
rev = rev * 10 + tmp % 10;
tmp = tmp / 10;
}
return x == rev;
}
}
| .version 52 0
.class public super PalindromeNumber
.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 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:48:57 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:48: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;
... | 139,281 |
Util | /** */
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
/**
* @author ArunIyengar
*/
/*
* Utility methods called by... | .version 52 0
.class public super Util
.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 23
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:38:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.System;
import org.evosuite... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:38: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;
... | 139,282 |
ApiState | /*
* Seldon -- open source prediction engine
* =======================================
* Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/)
*
**********************************************************************************************
*
* Licensed under the Apache License, Vers... | .version 52 0
.class public super ApiState
.super java/lang/Object
.field private apiUrl Ljava/lang/String;
.field private secureApiUrl Ljava/lang/String;
.field private consumerKey Ljava/lang/String;
.field private consumerSecret Ljava/lang/String;
.field private preferSecure Ljava/lang/Boolean;
.field private... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:40: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
* Sat Jul 02 01:40: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;
... | 139,283 |
Dog | public class Dog {
private String name;
public Dog(String name) {
this.name = name;
}
public String getName() {
return this.name;
}
}
| .version 52 0
.class public super Dog
.super java/lang/Object
.field private 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 Field Dog nam... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:08: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
* Mon Jul 04 03:08: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;
... | 139,284 |
SumDigits | public class SumDigits {
public int sum(int number) {
int result = 0;
char[] c = String.valueOf(number).toCharArray();
for (char i : c) {
if (i > '0' & i <= '9') {
result += (i - '0');
}
}
return result;
}
}
| .version 52 0
.class public super SumDigits
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:02: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 00:02: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;
... | 139,285 |
UnixTime | import java.util.Date;
/** Created by Jabrik on 14/01/2015. */
public class UnixTime {
private final long value;
public UnixTime() {
this(System.currentTimeMillis() / 1000L + 2208988800L);
}
public UnixTime(long value) {
this.value = value;
}
public long value() {
return value;
}
@Overr... | .version 52 0
.class public super UnixTime
.super java/lang/Object
.field private final value J
.method public <init> : ()V
.code stack 5 locals 1
L0: aload_0
L1: invokestatic Method java/lang/System currentTimeMillis ()J
L4: ldc2_w 1000L
L7: ldiv
L8: ldc2_w 2208988800L
L11: ladd ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:50:26 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 03:50:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,286 |
ListPermutationsIterator | import java.util.*;
/**
* Iterator over all permutations of a list It is assumed that elements in the list are unique
* Creation date: (16.10.2002 23:38:53)
*
* @author: Wolfgang Vahrson
*/
public class ListPermutationsIterator implements java.util.Iterator {
private List fSource;
private int[] fBeenHere;
p... | .version 52 0
.class public super ListPermutationsIterator
.super java/lang/Object
.implements java/util/Iterator
.field private fSource Ljava/util/List;
.field private fBeenHere [I
.field private fMaxBeenHere J
.field private fCurrent Ljava/util/List;
.field private fNext Ljava/util/List;
.field private fMaxP... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:34:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Collection;
import java.util.Comparator;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:34: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;
... | 139,287 |
Reference | public class Reference {
public static final String MOD_ID = "defaultworldgenerator-port";
public static final String MOD_NAME = "Default World Generator Port";
public static final String VERSION_BUILD = "${version}";
}
| .version 52 0
.class public super Reference
.super java/lang/Object
.field public static final MOD_ID Ljava/lang/String; = 'defaultworldgenerator-port'
.field public static final MOD_NAME Ljava/lang/String; = 'Default World Generator Port'
.field public static final VERSION_BUILD Ljava/lang/String; = '${version}' ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:19: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 22:19: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;
... | 139,288 |
ConditionTrigger | /*
* Copyright 2013 jonathan.
*
* 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 i... | .version 52 0
.class public super ConditionTrigger
.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 42
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:51: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 23:51: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;
... | 139,289 |
Util | /**
* Copyright (C) 2014 Open Whisper Systems
*
* <p>This program 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.
*
* <p>This prog... | .version 52 0
.class public super Util
.super java/lang/Object
.field static final VALID_EMAIL_FORMAT Ljava/lang/String; = "[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?"
.field public static final NUMBER_FORMAT_HELPER Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:33:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.ByteArra... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:33: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;
... | 139,290 |
BasicUser | /**
* POJO bean, doesn't have to be matched a specific table.
*
* @author songduk.park cororok@gmail.com
*/
public class BasicUser {
private String id;
private String userName;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getUserName() {
... | .version 52 0
.class public super BasicUser
.super java/lang/Object
.field private id Ljava/lang/String;
.field private userName 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:
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:59:00 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:59: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;
... | 139,291 |
Constants | /**
* Project constants.<br>
*
* @author arrebola
*/
public class Constants {
/** The base directory.<br> */
public static final String BASE_DIRECTORY = "ads";
/** The workspace base directory.<br> */
public static final String WORKSPACE_DIRECTORY = "workspace";
/** The repository base directory.<br> *... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final BASE_DIRECTORY Ljava/lang/String; = 'ads'
.field public static final WORKSPACE_DIRECTORY Ljava/lang/String; = 'workspace'
.field public static final REPOSITORY_DIRECTORY Ljava/lang/String; = 'repository'
.field public s... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:44:23 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:44:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,292 |
MathTest | /*
* 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 MathTest
.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
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:54: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 06:54: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;
... | 139,293 |
TestIntVect | /*
* Copyright (c) 2012, 2016, 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 TestIntVect
.super java/lang/Object
.field private static final ARRLEN I = 997
.field private static final ITERS I = 11000
.field private static final ADD_INIT I = 2147483147
.field private static final BIT_MASK I = -327092431
.field private static final VALUE I = 15
.field pri... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:05:12 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
* Sun Jul 03 20:05:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,294 |
Messages | import java.text.MessageFormat;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class Messages {
private static final String BUNDLE_NAME = "messages.messages"; // $NON-NLS-1$
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
private ... | .version 52 0
.class public super Messages
.super java/lang/Object
.field private static final BUNDLE_NAME Ljava/lang/String; = 'messages.messages'
.field private static final RESOURCE_BUNDLE Ljava/util/ResourceBundle;
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecia... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:52:43 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 08:52:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,295 |
NameValue | import java.io.Serializable;
/**
*
*
* <pre>
* 功能描述:名值对
*
* Author : Wangjian
* Date : 2007-11-12
* Time : 13:39:15
* Version:1.0
* </pre>
*/
public class NameValue implements Serializable {
private static final long serialVersionUID = 8812905561043887847L;
public static final String RELATION_EQ = "... | .version 52 0
.class public super NameValue
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 8812905561043887847L
.field public static final RELATION_EQ Ljava/lang/String; = 'eq'
.field public static final RELATION_LIKE Ljava/lang/String; = 'like'
.field p... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:55: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
* Sun Jul 03 19:55: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;
... | 139,296 |
TestMultiLocal | public class TestMultiLocal {
public void foo() {
int i = /*]*/ bar() /*[*/, x;
}
public int bar() {
if (true) return 1;
else return 2;
}
}
| .version 52 0
.class public super TestMultiLocal
.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 3
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:04: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
* Fri Jul 01 22:04:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,297 |
LineAssembler | public class LineAssembler {
private StringBuffer candidateLineBuffer = new StringBuffer();
/**
* Adds the fragment to the currently assembling line, and checks for the line terminator,
* returning true if found.
*/
public boolean isCompleteLineAfterAppending(String fragment) {
candidateLineBuffer.... | .version 52 0
.class public super LineAssembler
.super java/lang/Object
.field private candidateLineBuffer Ljava/lang/StringBuffer;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/lang/StringBuffer... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:23: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
* Mon Jul 04 02:23: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;
... | 139,298 |
IpDiscoveryProtocol | import java.util.Random;
/**
* Constants used for a very simple discovery protocol to find dynamically assigned IPv4 addresses
* of servers. The first byte of each message is the message type (MULTICAST_DISCOVERY_REQUEST or
* MULTICAST_DISCOVERY_RESPONSE). Requests contain only the message type byte. Replies also c... | .version 52 0
.class public super IpDiscoveryProtocol
.super java/lang/Object
.field public static final MULTICAST_DISCOVERY_ADDRESS_IPV4 Ljava/lang/String; = '239.255.255.250'
.field public static final MULTICAST_DISCOVERY_UDP_PORT I = 7212
.field public static final MULTICAST_DISCOVERY_REQUEST B = 1
.field publ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:18:48 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.Random;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:18: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;
... | 139,299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.