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 |
|---|---|---|---|---|---|
AreaStyle | /*
* The MIT License (MIT)
*
* Copyright (c) 2014-2015 abel533@gmail.com
*
* 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
... | .version 52 0
.class public super AreaStyle
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -6547716731700677234L
.field private color Ljava/lang/Object;
.field private type Ljava/lang/Object;
.method public <init> : ()V
.code stack 1 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:46:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:46: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;
... | 145,800 |
Group | /** Created by ChenTao on 2017/7/29. 抽象组 */
public abstract class Group {
// 甲乙双方分开办公,如果你要和某一个组讨论,你首先要找到这个组
public abstract void find();
// 被要求增加的功能
public abstract void add();
// 被要求删除的功能
public abstract void delete();
// 被要求修改的功能
public abstract void change();
// 被要求给出所有的变更计划
public abst... | .version 52 0
.class public super abstract Group
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:43:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:43:58 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... | 145,801 |
Game | public abstract class Game {
private Game game;
public void setGame(Game game) {
this.game = game;
}
public final void play() {
// initialize game
initialize();
// begin game
startGame();
// over game
endGame();
}
protected abstract void endGame();
protected abstract void s... | .version 52 0
.class public super abstract Game
.super java/lang/Object
.field private game LGame;
.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 li... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:11: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
* Mon Jul 04 16:11:32 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... | 145,802 |
Check | import java.lang.reflect.Constructor;
import java.util.Vector;
public class Check {
private static IllegalArgumentException getExceptionInstance(
Class<?> exceptionClass, String message) {
IllegalArgumentException exception = null;
try {
Constructor<?> exceptionConstructor = exceptionClass.getCon... | .version 52 0
.class public super Check
.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
.end m... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:49:46 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 18:49: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;
... | 145,803 |
OracleBlobTest | public class OracleBlobTest {
// public static void main(String[] args)
// {
// final Connection conn=JohnJDBCUtil.getConnection("Resource/database.properties");
//
// JohnJDBCUtil.getExecute(conn, new Call<Object>()
// {
// @Override
// public Object exec() throws SQLException
// {
// S... | .version 52 0
.class public super OracleBlobTest
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:23:39 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:23: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;
... | 145,804 |
NStage | /* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2023, Arnaud Roques
*
* Project Info: https://plantuml.com
*
* If you like this project or if y... | .version 52 0
.class public super NStage
.super java/lang/Object
.implements java/lang/Comparable
.field private final number I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Fi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:26: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 02:26: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;
... | 145,805 |
UserNotFoundException | public class UserNotFoundException extends RuntimeException {
private static final long serialVersionUID = 1L;
public UserNotFoundException() {
super();
}
public UserNotFoundException(String message) {
super(message);
}
public UserNotFoundException(Throwable cause) {
super(cause);
}
pub... | .version 52 0
.class public super UserNotFoundException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:01:07 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:01:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,806 |
TipsItem | /** Created by elizeu on 25/09/15. */
public class TipsItem {
private String titleUs;
private String titleBr;
private String descriptionUs;
private String descriptionBr;
public String getTitleUs() {
return titleUs;
}
public void setTitleUs(String titleUs) {
this.titleUs = titleUs;
}
public... | .version 52 0
.class public super TipsItem
.super java/lang/Object
.field private titleUs Ljava/lang/String;
.field private titleBr Ljava/lang/String;
.field private descriptionUs Ljava/lang/String;
.field private descriptionBr Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:58: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 15:58: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;
... | 145,807 |
gcd | // Java program to find factorial of given number
class gcd {
// Recursive function to return gcd of a and b
static int gcd(int a, int b) {
// Everything divides 0
if (a == 0 || b == 0) return 0;
// base case
if (a == b) return a;
// a is greater
if (a > b) return gcd(a - b, b);
return... | .version 52 0
.class super gcd
.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 2
.end linenumbertable
.end code
.end method
.method ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:51:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:51: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;
... | 145,808 |
TestAnswer | /*
* Copyright 2008-present, David Karnok & Contributors
* The file is part of the Open Imperium Galactica project.
*
* The code should be distributed under the LGPL license.
* See http://www.gnu.org/licenses/lgpl.html for details.
*/
import java.util.Objects;
/**
* A answer for the Phsychologist's test.
*
*... | .version 52 0
.class public super TestAnswer
.super java/lang/Object
.field public final id Ljava/lang/String;
.field public label Ljava/lang/String;
.field public selected Z
.field public points I
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:42:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:42: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;
... | 145,809 |
Product | public class Product {
private String name;
private String adultAmount;
private String childrenAmount;
private String breakfastPrice;
private boolean breakfastIncluded;
private boolean halfBoard;
private boolean fullBoard;
private boolean allInclusive;
private boolean freeCancellation;
private bool... | .version 52 0
.class public super Product
.super java/lang/Object
.field private name Ljava/lang/String;
.field private adultAmount Ljava/lang/String;
.field private childrenAmount Ljava/lang/String;
.field private breakfastPrice Ljava/lang/String;
.field private breakfastIncluded Z
.field private halfBoard Z
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:37:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:37: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;
... | 145,810 |
Solution |
/* Алгоритмы-прямоугольники
1. Дан двумерный массив N*N, который содержит несколько прямоугольников.
2. Различные прямоугольники не соприкасаются и не накладываются.
3. Внутри прямоугольник весь заполнен 1.
4. В массиве:
4.1) a[i, j] = 1, если элемент (i, j) принадлежит какому-либо прямоугольнику
4.2) a[i, j] = 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 15
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:06:30 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:06: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;
... | 145,811 |
HeaderConstants | /****************************************************************
* 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... | .version 52 0
.class public super HeaderConstants
.super java/lang/Object
.field public static final MAIL_ID_HEADER Ljava/lang/String; = 'X-James-Postage-Count'
.field public static final JAMES_POSTAGE_HEADER Ljava/lang/String; = 'X-James-Postage'
.field public static final JAMES_POSTAGE_VALIDATORCLASSNAME_HEADER ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:10: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 05:10: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;
... | 145,812 |
Leetcode946 | import java.util.Stack;
public class Leetcode946 {
public static void main(String[] args) {
Leetcode946 a = new Leetcode946();
a.validateStackSequences1(new int[] {2, 1, 3, 0}, new int[] {1, 0, 3, 2});
}
// 栈的特点 filo 模拟进栈出栈的过程
public boolean validateStackSequences1(int[] pushed, int[] popped) {
in... | .version 52 0
.class public super Leetcode946
.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
* Fri Jul 01 11:42: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
* Fri Jul 01 11:42: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;
... | 145,813 |
UserServiceImpl | import java.util.List;
public class UserServiceImpl {
public List getUsersByRole() {
return null;
}
}
| .version 52 0
.class public super UserServiceImpl
.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 co... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:43:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.List;
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 17:43: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;
... | 145,814 |
RangeArray | import java.util.ArrayList;
/**
* @author zmiller
*/
public class RangeArray {
public static ArrayList<String> findRange(int[] input) {
// Fill the range arrays
ArrayList<Integer> starts = new ArrayList<>();
ArrayList<Integer> ends = new ArrayList<>();
int expected = input[0];
starts.add(exp... | .version 52 0
.class public super RangeArray
.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
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:10:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:10: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;
... | 145,815 |
StockForecastDto | public class StockForecastDto {}
| .version 52 0
.class public super StockForecastDto
.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
* Fri Jul 01 07:28: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 07:28: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;
... | 145,816 |
Cell | public class Cell {
int x;
int y;
Cell(int x, int y) {
this.x = x;
this.y = y;
}
}
| .version 52 0
.class public super Cell
.super java/lang/Object
.field x I
.field y I
.method <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Cell x I
L9: aload_0
L10: iload_2
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:10:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:10: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;
... | 145,817 |
SQLErrorUpdateException | /*
* Copyright 2015 Ryan Gilera.
*
* 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 t... | .version 52 0
.class public super SQLErrorUpdateException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;Ljava/lan... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:54:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:54:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,818 |
EstablishSessionDto | public class EstablishSessionDto {
private String sessionId;
private String validationToken;
public String getSessionId() {
return sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
public String getValidationToken() {
return validationToken;
}
pub... | .version 52 0
.class public super EstablishSessionDto
.super java/lang/Object
.field private sessionId Ljava/lang/String;
.field private validationToken Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: re... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:53:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:53:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,819 |
Problem12 | public class Problem12 {
// Problem Description: Highly divisible triangular number (Problem 12)
// The sequence of triangle numbers is generated by adding the natural numbers. So the 7th
// triangle number would be 1+2+3+4+5+6+7=28.
// The first ten terms would be: 1,3,6,10,15,21,28,36,45,55,...
// Let us li... | .version 52 0
.class public super Problem12
.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 11:40:59 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 11:40: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;
... | 145,820 |
VMStartException | /*
* Copyright (c) 1998, 2000, 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 VMStartException
.super java/lang/Exception
.field process Ljava/lang/Process;
.method public <init> : (Ljava/lang/Process;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: aload_0
L5: aload_1
L6: putfie... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:59:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:59: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;
... | 145,821 |
BinarySearch | public class BinarySearch {
public static void main(String[] args) {
/** Binary search algorithm - search value x = 75 */
int[] numbers = {15, 23, 26, 41, 52, 59, 75, 84, 91};
int num = 75;
int i = 1;
int j = numbers.length;
while (i < j) {
int m = (i + j) / 2;
if (num > numbers... | .version 52 0
.class public super BinarySearch
.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 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:56:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:56:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,822 |
ServerConsts | public class ServerConsts {
// ip
public static final int port = 8090;
public static final String globalIP = "148.251.42.117";
public static final String loopbackIP = "127.0.0.1";
public static final String LocalServerURL = "http://" + loopbackIP + ":" + port + "/";
public static final String GlobalServerUR... | .version 52 0
.class public super ServerConsts
.super java/lang/Object
.field public static final port I = 8090
.field public static final globalIP Ljava/lang/String; = '148.251.42.117'
.field public static final loopbackIP Ljava/lang/String; = '127.0.0.1'
.field public static final LocalServerURL Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:19: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
* Fri Jul 01 09:19: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;
... | 145,823 |
ArchiveEntry | import java.io.InputStream;
public class ArchiveEntry {
private String name;
private long creationTime;
private long lastModifiedTime;
private InputStream inputStream;
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public long getCreationTi... | .version 52 0
.class public super ArchiveEntry
.super java/lang/Object
.field private name Ljava/lang/String;
.field private creationTime J
.field private lastModifiedTime J
.field private inputStream Ljava/io/InputStream;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokes... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:00:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:00: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;
... | 145,824 |
RemoteSpawnException | //////////////////////////////////////////////////////////////////////
// //
// JCSP ("CSP for Java") Libraries //
// Copyright (C) 1996-2008 Peter Welch and Paul Austin. //
// 2001-2004 Quicksto... | .version 52 0
.class public super RemoteSpawnException
.super java/lang/RuntimeException
.field public final cause Ljava/lang/Throwable;
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: aload_0... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:44:44 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.m... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:44: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;
... | 145,825 |
DynamicDeckDynamoException | /*
* ACS AEM Commons
*
* Copyright (C) 2020 Adobe
*
* 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 applic... | .version 52 0
.class public super DynamicDeckDynamoException
.super java/lang/Exception
.field private static final serialVersionUID J = 1955355079908933046L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:05:47 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 16:05:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,826 |
Input | public class Input {
private String label;
private String type;
private String name;
public String toString() {
return (label.length() > 0 ? label : type) + ":" + name;
}
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public Str... | .version 52 0
.class public super Input
.super java/lang/Object
.field private label Ljava/lang/String;
.field private type Ljava/lang/String;
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:42: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:42: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;
... | 145,827 |
User | /**
* Project Name:DataStructure File Name:User.java Package Name:ds0513 Date:2014年5月15日 下午11:25:46
* Copyright (c) 2014, zhangzhaoyu0524@163.com All Rights Reserved.
*/
/**
* ClassName:User <br>
* Function: TODO ADD FUNCTION. <br>
* Reason: TODO ADD REASON. <br>
* Date: 2014年5月15日 下午11:25:46 <br>
*
* @author... | .version 52 0
.class public super User
.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
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:53: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
* Mon Jul 04 06:53: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;
... | 145,828 |
UnsafeSecurityManager | import java.io.FileDescriptor;
import java.net.InetAddress;
import java.security.Permission;
public class UnsafeSecurityManager extends SecurityManager {
public void checkAccept(String host, int port) {}
public void checkAccess(Thread t) {}
public void checkAccess(ThreadGroup g) {}
public void checkAwtEvent... | .version 52 0
.class public super UnsafeSecurityManager
.super java/lang/SecurityManager
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/SecurityManager <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end line... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:20:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.FileDescriptor;
import java.net.InetAddress;
import java.security.Permission;
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 06:20:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,829 |
SerializeDeserializeTree | public class SerializeDeserializeTree {}
| .version 52 0
.class public super SerializeDeserializeTree
.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
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:23: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
* Sun Jul 03 18:23: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;
... | 145,830 |
CustomListViewAdapter | public class CustomListViewAdapter {}
| .version 52 0
.class public super CustomListViewAdapter
.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
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:25: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
* Sat Jul 02 02:25: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;
... | 145,831 |
CellAddress | public class CellAddress {
public final int row;
public final int col;
public final String idString;
/**
* Constructs a CellAddress representing the specified {@code row} and {@code col}. The idString
* will be set in 'RnCn' notation.
*/
public CellAddress(int row, int col) {
this.row = row;
... | .version 52 0
.class public super CellAddress
.super java/lang/Object
.field public final row I
.field public final col I
.field public final idString Ljava/lang/String;
.method public <init> : (II)V
.code stack 6 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: a... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:14: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 11:14: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;
... | 145,832 |
MediaTypes | public class MediaTypes {
public static final String JSON = "application/json;charset=UTF-8";
public static final String JSONP = "application/javascript;charset=UTF-8";
}
| .version 52 0
.class public super MediaTypes
.super java/lang/Object
.field public static final JSON Ljava/lang/String; = 'application/json;charset=UTF-8'
.field public static final JSONP Ljava/lang/String; = 'application/javascript;charset=UTF-8'
.method public <init> : ()V
.code stack 1 locals 1
L0: a... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:37: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
* Fri Jul 01 16:37: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;
... | 145,833 |
Main | /*
* Author: Kim Min-Ho (ISKU)
* Date: 2016.08.06
* email: minho1a@hanmail.net
*
* https://github.com/ISKU/Algorithm
* https://www.acmicpc.net/problem/11726
*/
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner input = new Scanner(System.in);
int size = inp... | .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 12
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:42:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:42: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;
... | 145,834 |
FileRepositoryDeleteVisitor | /*
* 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 final super FileRepositoryDeleteVisitor
.super java/lang/Object
.implements java/nio/file/FileVisitor
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:50:13 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.File;
import java.io.IOException;
import java... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:50:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,835 |
Knapsack01 | import java.util.Scanner;
public class Knapsack01 {
/*
* 0/1 Knapsack Problem - Given items of certain weights/values and maximum
* allowed weight how to pick items to pick items from this set to maximize
* sum of value of items such that sum of weights is less than or equal to
* maximum allowed weight.... | .version 52 0
.class public super Knapsack01
.super java/lang/Object
.field static sc Ljava/util/Scanner;
.field static w [I
.field static v [I
.field static n I
.field static sum I
.field static dp [[I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:56:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:56: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;
... | 145,836 |
ExampleApiPath | /** Created by github on 07/10/14. */
public class ExampleApiPath {
private static final String SLASH = "/";
public static final String SEMAPHORE = "semaphore";
public static final String ON = "on";
public static final String OFF = "off";
public static final String SWITCH = "switch";
public static final ... | .version 52 0
.class public super ExampleApiPath
.super java/lang/Object
.field private static final SLASH Ljava/lang/String; = '/'
.field public static final SEMAPHORE Ljava/lang/String; = 'semaphore'
.field public static final ON Ljava/lang/String; = 'on'
.field public static final OFF Ljava/lang/String; = 'off... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:52: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 06:52: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;
... | 145,837 |
ProductOptionValidationException | /*
* #%L
* SparkCommerce Framework
* %%
* Copyright (C) 2009 - 2013 Spark Commerce
* %%
* 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/LICENS... | .version 52 0
.class public super ProductOptionValidationException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.field protected attributeName Ljava/lang/String;
.field protected attributeValue Ljava/lang/String;
.field protected validationString Ljava/lang/String;
.field... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:33:45 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 09:33: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;
... | 145,838 |
GtexJunctionExtractor | /*
* The MIT License (MIT)
*
* Copyright (c) 2007-2015 Broad Institute
*
* 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
*... | .version 52 0
.class public super GtexJunctionExtractor
.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 31
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:20: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
* Sun Jul 03 17:20: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;
... | 145,839 |
DescribeConstants | public class DescribeConstants {
public static final String exe_01 = "真心不错!";
public static final String exe_02 = "可以的!";
public static final String exe_03 = "良心!";
public static final String exe_04 = "太逊了!";
}
| .version 52 0
.class public super DescribeConstants
.super java/lang/Object
.field public static final exe_01 Ljava/lang/String; = '真心不错!'
.field public static final exe_02 Ljava/lang/String; = '可以的!'
.field public static final exe_03 Ljava/lang/String; = '良心!'
.field public static final exe_04 Ljava/lang/String;... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:13:37 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:13: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;
... | 145,840 |
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 09:54: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 09:54: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;
... | 145,841 |
Refs | /**
* @author bluemonster122 <boo122333@gmail.com>
*/
public class Refs {
public static final String MOD_ID = "elgems";
public static final String MOD_NAME = "Elemental Gem";
public static final String VERSION = "1.7.10-1.0";
public static final String CLIENT_PROXY = "me.bluemonster.elgems.proxy.ClientProxy";... | .version 52 0
.class public super Refs
.super java/lang/Object
.field public static final MOD_ID Ljava/lang/String; = 'elgems'
.field public static final MOD_NAME Ljava/lang/String; = 'Elemental Gem'
.field public static final VERSION Ljava/lang/String; = '1.7.10-1.0'
.field public static final CLIENT_PROXY Ljava... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:38: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 12:38: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;
... | 145,842 |
JavaCollection | import java.util.*;
/** Created by bejond on 15-9-30. */
public class JavaCollection {
List list;
Set set;
Map map;
Properties property;
public List getList() {
System.out.print("List: " + list);
return list;
}
public void setList(List list) {
this.list = list;
}
public Map getMap() {
... | .version 52 0
.class public super JavaCollection
.super java/lang/Object
.field list Ljava/util/List;
.field set Ljava/util/Set;
.field map Ljava/util/Map;
.field property Ljava/util/Properties;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Obje... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:52:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.InputStream;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:52: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;
... | 145,843 |
WaterTile | public class WaterTile {
public static final float TILE_SIZE = 60;
public float height;
public float x, z;
public WaterTile(float centerX, float centerZ, float height) {
this.x = centerX;
this.z = centerZ;
this.height = height;
}
}
| .version 52 0
.class public super WaterTile
.super java/lang/Object
.field public static final TILE_SIZE F = +60.0f
.field public height F
.field public x F
.field public z F
.method public <init> : (FFF)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:57: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 02:57: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;
... | 145,844 |
Student | public abstract class Student {
protected String studID;
protected Student(String studID) {
this.studID = studID;
}
public abstract double calculateFees();
@Override
public String toString() {
return "Student [studID=" + studID + "]";
}
}
| .version 52 0
.class public super abstract Student
.super java/lang/Object
.field protected studID Ljava/lang/String;
.method protected <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: pu... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:11: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
* Sun Jul 03 16:11:40 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... | 145,845 |
MyPrime | import java.util.Scanner;
public class MyPrime {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int testCases = Integer.parseInt(sc.nextLine());
if (testCases >= 1 && testCases <= 100) {
String[] elements = sc.nextLine().split("... | .version 52 0
.class public super MyPrime
.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 code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:05:56 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
* Mon Jul 04 04:05: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;
... | 145,846 |
Dog | public class Dog extends Exception {
public static final Dog INSTANCE = new Dog();
private Dog() {}
public String toString() {
return "Woof";
}
}
| .version 52 0
.class public super Dog
.super java/lang/Exception
.field public static final INSTANCE LDog;
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 3
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:40: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:40: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;
... | 145,847 |
Crypt | /*
* This file is part of DrFTPD, Distributed FTP Daemon.
*
* DrFTPD 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 2 of the License, or
* (at your option) any later version.
*
* DrFTPD... | .version 52 0
.class public super Crypt
.super java/lang/Object
.field private static final ITERATIONS I = 16
.field private static final con_salt [I
.field private static final shifts2 [Z
.field private static final skb [[I
.field private static final SPtrans [[I
.field private static final cov_2char [I
.met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:37:17 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 20:37:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,848 |
Receipt | import java.util.*;
public class Receipt {
private double total = 0;
private Formatter f = new Formatter(System.out);
public void printTitle() {
f.format("%-15s %5s %10s\n", "Item", "Qty", "Price");
f.format("%-15s %5s %10s\n", "----", "---", "-----");
}
public void print(String name, int qty, doub... | .version 52 0
.class public super Receipt
.super java/lang/Object
.field private total D
.field private f Ljava/util/Formatter;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dconst_0
L6: putfield Fi... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:39:07 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:39:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,849 |
Encryption | import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/** Created by Catherine on 2016/8/11. Soft-World Inc. catherine919@soft-world.com.tw */
public class Encryption {
... | .version 52 0
.class public super Encryption
.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 15
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:03: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:03: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;
... | 145,850 |
Range | /**
* The MIT License
*
* <p>Copyright (c) 2017, Ignacio Tomas Crespo (itcrespo@gmail.com)
*
* <p>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 l... | .version 52 0
.class public super Range
.super java/lang/Object
.field private final min I
.field private final max I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Range... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:03: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
* Fri Jul 01 05:03: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;
... | 145,851 |
InstanceId | /**
* 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 InstanceId
.super java/lang/Object
.field private final componentName Ljava/lang/String;
.field private final taskId I
.field private final componentIndex I
.method public <init> : (Ljava/lang/String;II)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:43: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 13:43: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;
... | 145,852 |
StartHeader | /**
* Created by IntelliJ IDEA. User: sokolov_a Date: 12.04.2011 Time: 14:53:49 To change this template
* use File | Settings | File Templates.
*/
public class StartHeader {
private long nextHeaderOffset;
private long nextHeaderSize;
private int nextHeaderCRC;
public long getNextHeaderOffset() {
return ... | .version 52 0
.class public super StartHeader
.super java/lang/Object
.field private nextHeaderOffset J
.field private nextHeaderSize J
.field private nextHeaderCRC I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:04: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
* Mon Jul 04 00:04: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;
... | 145,853 |
ReportRenderException | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | .version 52 0
.class public super ReportRenderException
.super java/lang/Exception
.field private static final serialVersionUID J = 3345608823051705228L
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokes... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:58:15 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 15:58:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,854 |
Celcius | public class Celcius {
public static double fromFahrenheit(double n) {
return (n - 32) * 5 / 9;
}
public static double fromKelvin(double n) {
return n - 273.15;
}
public static double fromNewton(double n) {
return n * 100 / 33;
}
public static double fromRankine(double n) {
return (n -... | .version 52 0
.class public super Celcius
.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 code
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:59: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
* Mon Jul 04 14:59: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;
... | 145,855 |
SignFlow | import java.io.Serializable;
import java.sql.Timestamp;
/**
* 报考流程表
*
* @author Anthony
*/
public class SignFlow implements Serializable {
private static final long serialVersionUID = -1189152883011360588L;
private int id;
private int examtype; /* 考试类型 */
private String name; /* 名称 */
private Timestamp... | .version 52 0
.class public super SignFlow
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -1189152883011360588L
.field private id I
.field private examtype I
.field private name Ljava/lang/String;
.field private createtime Ljava/sql/Timestamp;
.field p... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:19:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Timestamp;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.c... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:19: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;
... | 145,856 |
WrappedInputStream | import java.io.IOException;
import java.io.InputStream;
public class WrappedInputStream extends InputStream {
private final InputStream in;
public WrappedInputStream(final InputStream in) {
this.in = in;
}
@Override
public int read() throws IOException {
return this.in.read();
}
@Override
pu... | .version 52 0
.class public super WrappedInputStream
.super java/io/InputStream
.field private final in Ljava/io/InputStream;
.method public <init> : (Ljava/io/InputStream;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/io/InputStream <init> ()V
L4: aload_0
L5: aload_1 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:50:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.InputStream;
import java.io.SequenceInp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:50:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,857 |
ExtCRLException | import java.security.cert.CRLException;
class ExtCRLException extends CRLException {
Throwable cause;
ExtCRLException(String message, Throwable cause) {
super(message);
this.cause = cause;
}
public Throwable getCause() {
return cause;
}
}
| .version 52 0
.class super ExtCRLException
.super java/security/cert/CRLException
.field cause Ljava/lang/Throwable;
.method <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 2 locals 3
L0: aload_0
L1: aload_1
L2: invokespecial Method java/security/cert/CRLException <init> (Ljava/... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:06:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:06: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;
... | 145,858 |
A | // 5, 16, 5, 16
class A {
String s = "assumeCamelCase";
}
| .version 52 0
.class super A
.super java/lang/Object
.field s Ljava/lang/String;
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc 'assumeCamelCase'
L7: putfield Field A s Ljava/lang/String;
L10: return... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:55: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 21:55: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;
... | 145,859 |
HasPrivateConstrutor | /**
* @author Lzj Created on 2015/12/18.
*/
public class HasPrivateConstrutor {
private String name;
private HasPrivateConstrutor() {}
public HasPrivateConstrutor(String name) {
this.name = name;
}
}
| .version 52 0
.class public super HasPrivateConstrutor
.super java/lang/Object
.field private name Ljava/lang/String;
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:02:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:02:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,860 |
Handler | import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
/**
* @author bin.zhang
*/
public class Handler implements Runnable {
// private Test test=new Test();
final SocketChannel socket;
final Se... | .version 52 0
.class public super Handler
.super java/lang/Object
.implements java/lang/Runnable
.field final socket Ljava/nio/channels/SocketChannel;
.field final sk Ljava/nio/channels/SelectionKey;
.field static final READING I = 0
.field static final SENDING I = 1
.field state I
.method public <init> : (Lj... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:23:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:23: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;
... | 145,861 |
RotateArray | /**
* Class RotateArray.
*
* @author Vitaly Vasilyev
* @version $Id$
* @since 0.1
*/
public class RotateArray {
/**
* The method rotates an array of integer values in clockwise order.
*
* @param array Array of integer values.
* @return The reference to rotated array.
*/
public int[][] rotate(in... | .version 52 0
.class public super RotateArray
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:05:25 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 21:05: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;
... | 145,862 |
PayRoll | /*
* (Financial application: payroll) Write a program that reads the following information
* and prints a payroll statement:
* Employee’s name (e.g., Smith)
* Number of hours worked in a week (e.g., 10%)
* Hourly pay rate (e.g., 9.75%)
* Federal tax withholding rate (e.g., 20%)
*/
import java.ut... | .version 52 0
.class public super PayRoll
.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 14
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:16:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.u... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:16: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;
... | 145,863 |
GetDateTimeString | /*
* Copyright (c) 2011 CSIR, Meraka, South Africa
*
* Contributors:
* - The Department of Arts and Culture, The Government of South Africa.
*
* 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 Lic... | .version 52 0
.class public super GetDateTimeString
.super java/lang/Object
.field dateTimeString Ljava/lang/CharSequence;
.method public <init> : ()V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: new java/text/SimpleDateFormat
L7: dup
L8: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:47: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
* Sat Jul 02 06:47: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;
... | 145,864 |
DiamondPrintingProgram | import java.util.Scanner;
/** Created by John Tsantilis (i [dot] tsantilis [at] yahoo [dot] com A.K.A lumi) on 23/3/2017. */
public class DiamondPrintingProgram {
@SuppressWarnings("Duplicates")
public void firstApproach() {
int size = 9;
int numOfColumns = 1;
int numOfSpaces = size / 2;
for (int ... | .version 52 0
.class public super DiamondPrintingProgram
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:46:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:46: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;
... | 145,865 |
RawFace | import java.util.List;
/**
* @author Evan Shimoniak
* @since 2.0
*/
public class RawFace {
public int[] vertIndxs;
public int size;
public RawFace(int[] vertexIndices) {
size = vertexIndices.length;
vertIndxs = vertexIndices;
}
public RawFace(Integer[] vertexIndices) {
size = vertexIndices.l... | .version 52 0
.class public super RawFace
.super java/lang/Object
.field public vertIndxs [I
.field public size I
.method public <init> : ([I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: arraylength
L7: put... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:30:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:30: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;
... | 145,866 |
ConsonantSimilarity | /** */
public class ConsonantSimilarity {
private static ConsonantSimilarity INSTANCE;
private static final int NUM_CONSONANTS = 26;
public static final char FIRST_CONSONANT = 'A';
private double distanceMatrix[];
public static ConsonantSimilarity get() {
if (INSTANCE == null) {
INSTANCE = new C... | .version 52 0
.class public super ConsonantSimilarity
.super java/lang/Object
.field private static INSTANCE LConsonantSimilarity;
.field private static final NUM_CONSONANTS I = 26
.field public static final FIRST_CONSONANT C = 65
.field private distanceMatrix [D
.method public static get : ()LConsonantSimilari... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:56:10 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 03:56: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;
... | 145,867 |
Main | /*
* Copyright (c) 2017 Nova Ordis LLC
*
* 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 agre... | .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 33
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:33:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.InetAddress;
import java.net.NetworkInterface;
import org.evosuite.runtime.EvoRunner;
import org.evos... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:33:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,868 |
SocketWrapper | import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.Socket;
import java.net.SocketAddress;
import java.net.SocketException;
import java.nio.channels.SocketChannel;
class SocketWrapper extends Socket {
private final Socket socket;
privat... | .version 52 0
.class super SocketWrapper
.super java/net/Socket
.field private final socket Ljava/net/Socket;
.field private final inputStream Ljava/io/InputStream;
.field private final outputStream Ljava/io/OutputStream;
.method <init> : (Ljava/net/Socket;Ljava/io/InputStream;Ljava/io/OutputStream;)V
.code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:46:21 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.BufferedInputStream;
import java.io.BufferedO... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:46: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;
... | 145,869 |
Domain | /*
* Domain.java
*
* Created on March 25, 2003, 10:50 AM
*/
/**
* @author deruelle@nist.gov
*/
public class Domain {
public String hostName;
public String hostPort;
public String from;
/** Creates a new instance of Domain */
public Domain() {}
public void setHostName(String hostName) {
this.ho... | .version 52 0
.class public super Domain
.super java/lang/Object
.field public hostName Ljava/lang/String;
.field public hostPort Ljava/lang/String;
.field public from Ljava/lang/String;
.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
* Sat Jul 02 19:10: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
* Sat Jul 02 19:10: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;
... | 145,870 |
BubbleSpeed | /**
* 气泡二维坐标速度向量
*
* @author Administrator
*/
public class BubbleSpeed {
private float X;
private float Y;
public float getX() {
return X;
}
public void setX(float x) {
X = x;
}
public float getY() {
return Y;
}
public void setY(float y) {
Y = y;
}
}
| .version 52 0
.class public super BubbleSpeed
.super java/lang/Object
.field private X F
.field private Y F
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:00: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 16:00: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;
... | 145,871 |
UglyNumber | /*
* 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 djoshi
*/
public class UglyNumber {
int getNthUglyNo(int n) {
int ugly[] = new int[n]; // To store ugly numbers... | .version 52 0
.class public super UglyNumber
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:39:29 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 01:39: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;
... | 145,872 |
Configuration | public class Configuration {
private int sizeOfCell;
private int sizeOfTable;
private int[][] queenPositions;
private boolean consoleApplication;
private int numberOfQueens;
public int getSizeOfCell() {
return sizeOfCell;
}
public void setSizeOfCell(int sizeOfCell) {
this.sizeOfCell = sizeOfCe... | .version 52 0
.class public super Configuration
.super java/lang/Object
.field private sizeOfCell I
.field private sizeOfTable I
.field private queenPositions [[I
.field private consoleApplication Z
.field private numberOfQueens I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:11: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
* Sun Jul 03 20:11: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;
... | 145,873 |
Main | import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
public class Main {
public static void main(String[] args) {
try {
DatagramSocket socket = new DatagramSocket(5000);
while (true) {
byte[... | .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 9
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:07:21 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.EvoSuiteLocalAddress;
import org.evosuite.ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:07: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;
... | 145,874 |
ShopPositionData | /** 聚划算应用,展示本地化服务类商品的分店地理信息的对象 */
public class ShopPositionData {
/** 店铺的地址 */
private String address;
/** 卖家店铺所在的城市 */
private String city;
/** 淘宝商品的数字id,对应了商品线的一个商品对象标识 */
private Long itemId;
/** 卖家店铺的手机联系号码 */
private String phone;
/** 卖家的账户数字id */
private Long sellerId;
/** 标识了一个唯一的地址位置... | .version 52 0
.class public super ShopPositionData
.super java/lang/Object
.field private address Ljava/lang/String;
.field private city Ljava/lang/String;
.field private itemId Ljava/lang/Long;
.field private phone Ljava/lang/String;
.field private sellerId Ljava/lang/Long;
.field private shopPositionId Ljava/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:06: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
* Fri Jul 01 17:06: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;
... | 145,875 |
ByteBufferInputStream | /*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | .version 52 0
.class public final super ByteBufferInputStream
.super java/io/InputStream
.field private final buffer Ljava/nio/ByteBuffer;
.method public <init> : (Ljava/nio/ByteBuffer;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/io/InputStream <init> ()V
L4: aload_0
L5:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:52:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.nio.ByteBuffer;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:52: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;
... | 145,876 |
ArrayUtils | /**
* 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 final super ArrayUtils
.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 linenu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:13: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 19:13: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;
... | 145,877 |
Method1 | /**
* License information: Component: javaslicer-core Package: de.unisb.cs.st.javaslicer.tracedCode
* Class: Method1 Filename:
* javaslicer-core/src/test/java/de/unisb/cs/st/javaslicer/tracedCode/Method1.java
*
* <p>This file is part of the JavaSlicer tool, developed by Clemens Hammacher at Saarland
* University.... | .version 52 0
.class public super Method1
.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 25
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:38:07 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 01:38:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,878 |
PairBean | /**
* @author Philipp
*/
public class PairBean {
int storeVisits = 0;
String storeName = "";
public void setStoreVisits(int newStoreVisits) {
storeVisits = newStoreVisits;
}
public int getStoreVisits() {
return storeVisits;
}
public void incrementStoreVisits() {
storeVisits += 1;
}
p... | .version 52 0
.class public super PairBean
.super java/lang/Object
.field storeVisits I
.field storeName Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:46:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:46: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;
... | 145,879 |
AbstractLayoutManager | /*
* This file is part of WebLookAndFeel library.
*
* WebLookAndFeel library 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.
*
... | .version 52 0
.class public super abstract AbstractLayoutManager
.super java/lang/Object
.implements java/awt/LayoutManager2
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:18: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
* Mon Jul 04 02:18:36 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... | 145,880 |
NumberOf1Between1AndN | /**
* Created by sky on 17-8-3. 题目描述 求出1~13的整数中1出现的次数,并算出100~1300的整数中1出现的次数?
* 为此他特别数了一下1~13中包含1的数字有1、10、11、12、13因此共出现6次,但是对于后面问题他就没辙了。
* ACMer希望你们帮帮他,并把问题更加普遍化,可以很快的求出任意非负整数区间中1出现的次数。
*
* <p>思路:采用递归的思想,如:对于1~1356中1出现的次数。可以这样算: 分为1~356和356~1356两段 1. 对于356~1356这一段:
* 最高位出现1的次数为1000~1356:356次 而356~1356中,根据排列组合原理,剩下... | .version 52 0
.class public super NumberOf1Between1AndN
.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 19
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:51:16 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:51: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;
... | 145,881 |
OperationType | /*
* Copyright 2017 StreamSets Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | .version 52 0
.class public super OperationType
.super java/lang/Object
.field public static final SDC_OPERATION_TYPE Ljava/lang/String; = 'sdc.operation.type'
.field public static final INSERT_CODE I = 1
.field public static final DELETE_CODE I = 2
.field public static final UPDATE_CODE I = 3
.field public stat... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:08:05 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:08: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;
... | 145,882 |
Action | public class Action {
public String actionSomething() {
System.out.println("actionSomething");
return "xxx";
}
public static void main(String[] argv) {
Action action = new Action();
action.actionSomething();
}
}
| .version 52 0
.class public super Action
.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 code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:07: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
* Fri Jul 01 05:07: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;
... | 145,883 |
Production9239 | public class Production9239 {
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 Production9239
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:37:55 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:37: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;
... | 145,884 |
StringNMusk | /** */
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* @author debmalyajash
*/
public class StringNMusk {
private static String[] startWith = new String[] {"0", "1"};
/**
* @p... | .version 52 0
.class public super StringNMusk
.super java/lang/Object
.field private static startWith [Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:01:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.t... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:01: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;
... | 145,885 |
ImageChangeEvent | /**
* * com/cambozolaplus/shared/ImageChangeEvent.java * Copyright (C) George Nedev, 2014. * Copyright
* (C) Andy Wilcock, 2001. * Available from http://code.google.com/p/cambozola-plus/ * * Cambozola
* m_inputStream free software; you can redistribute it and/or modify * it under the terms of the
* GNU General Publ... | .version 52 0
.class public super ImageChangeEvent
.super java/util/EventObject
.method public <init> : (Ljava/lang/Object;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/util/EventObject <init> (Ljava/lang/Object;)V
L5: return
L6:
.linenumberta... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:18:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:18:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,886 |
JoinStatement | /*
* Copyright (C) 2000 - 2018 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 JoinStatement
.super java/lang/Object
.field private sTable Ljava/lang/String;
.field private sWhere Ljava/lang/String;
.field private alTables Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field private alKeys Ljava... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:55:50 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 09:55: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;
... | 145,887 |
PipeStream | /**
* The PipeStream is an abstract representation of the data to be processed by a pipe.
*
* <p>You must extend PipeStream to your own PipeStream classes.
*
* @author Xavier Laumonier <xlaumonier@gmail.com>
*/
public abstract class PipeStream {}
| .version 52 0
.class public super abstract PipeStream
.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 11
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:43: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 01:43:38 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... | 145,888 |
ExperimentDefinition | import java.util.ArrayList;
import java.util.HashMap;
public class ExperimentDefinition {
public static final String CONTROL_GROUP_NAME = "control";
private String experimentName;
private String reference;
private ArrayList<String> controlGroupList = new ArrayList<>();
private ArrayList<HashMap<String, Arr... | .version 52 0
.class public super ExperimentDefinition
.super java/lang/Object
.field public static final CONTROL_GROUP_NAME Ljava/lang/String; = 'control'
.field private experimentName Ljava/lang/String;
.field private reference Ljava/lang/String;
.field private controlGroupList Ljava/util/ArrayList; .fieldattri... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:59:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.Run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:59: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;
... | 145,889 |
SessionServicePacket | /* jcifs smb client library in Java
* Copyright (C) 2000 "Michael B. Allen" <jcifs at samba dot org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the L... | .version 52 0
.class public super abstract SessionServicePacket
.super java/lang/Object
.field static final SESSION_MESSAGE I = 0
.field static final SESSION_REQUEST I = 129
.field public static final POSITIVE_SESSION_RESPONSE I = 130
.field public static final NEGATIVE_SESSION_RESPONSE I = 131
.field static fin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:38:41 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.BufferedInputStream;
import java.io.ByteArray... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:38:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,890 |
Model | /*Avis
Lobo/Degue*/
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/**
* @author mjdegue
*/
public abstract class Model {
private ActionListener listener;
protected void reportException(String exception) {
if (listener != null) {
ActionEvent evt = new ActionEvent(this, 0, ex... | .version 52 0
.class public super abstract Model
.super java/lang/Object
.field private listener Ljava/awt/event/ActionListener;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:30: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
* Fri Jul 01 16:30:10 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... | 145,891 |
DBConstants | /*
* Copyright 2013 Zakhar Prykhoda
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | .version 52 0
.class public super DBConstants
.super java/lang/Object
.field public static final derby Ljava/lang/String; = 'derby'
.field public static final oracle Ljava/lang/String; = 'oracle'
.field public static final mysql Ljava/lang/String; = 'mysql'
.field public static final postgres Ljava/lang/String; =... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:31: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
* Sun Jul 03 21:31: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;
... | 145,892 |
Error | /**
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See
* License.txt in the project root for license information.
*
* <p>Code generated by Microsoft (R) AutoRest Code Generator 0.14.0.0 Changes may cause incorrect
* behavior and will be lost if the code is regenerated.
... | .version 52 0
.class public super Error
.super java/lang/Object
.field private status Ljava/lang/Integer;
.field private message 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
* Sun Jul 03 22:24:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:24:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,893 |
IoUtil | /*
* Copyright (C) 2015, 程序亦非猿
*
* 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 in ... | .version 52 0
.class public final super IoUtil
.super java/lang/Object
.method private <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: new java/lang/AssertionError
L7: dup
L8: ldc 'No instances.'
L10: invokespecial Method jav... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:43:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.Closeable;
import java.io.PipedOutputStream;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runn... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:43:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 145,894 |
SearchinRotatedSortedArray | /*
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
You are given a target value to search. If found in the array return its index, otherwise return -1.
You may assume no duplicate exists in the array.
*/
import java.util.*;
public class S... | .version 52 0
.class public super SearchinRotatedSortedArray
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:28:10 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 21:28: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;
... | 145,895 |
OptionAliases | // SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (c) 2012-2014 Monty Program Ab
// Copyright (c) 2015-2021 MariaDB Corporation Ab
import java.util.HashMap;
import java.util.Map;
public final class OptionAliases {
public static final Map<String, String> OPTIONS_ALIASES;
static {
OPTIONS_ALIASES = n... | .version 52 0
.class public final super OptionAliases
.super java/lang/Object
.field public static final OPTIONS_ALIASES Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aloa... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:14: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 18:14: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;
... | 145,896 |
RectangleArea | import java.util.Scanner;
public class RectangleArea {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = Integer.parseInt(scanner.nextLine());
int b = Integer.parseInt(scanner.nextLine());
int area = a * b;
scanner.close();
System.out.println(area);
... | .version 52 0
.class public super RectangleArea
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:17:50 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 11:17: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;
... | 145,897 |
float1 | class float1 {
public static void main(String[] args) {
java.util.Random random = new java.util.Random(42);
float f = random.nextFloat();
// conversions
int i = (int) f;
char c = (char) f;
long l = (long) f;
double d = f;
short s = (short) f;
// constants
f = 1.1234f;
f ... | .version 52 0
.class super float1
.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
.meth... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:34: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 20:34: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;
... | 145,898 |
BadClass | public class BadClass {
public static void method() {
System.out.println("Hello");
System.out.println("Hello");
System.out.println("Hello");
System.out.println("Hello");
}
}
| .version 52 0
.class public super BadClass
.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 code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:24: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:24: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;
... | 145,899 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.