This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<style type="text/css"> | |
@font-face { | |
font-family: "原ノ味明朝"; | |
/* src: url(https://github.com/trueroad/HaranoAjiFonts/raw/master/HaranoAjiMincho-Regular.otf) format("opentype"); */ | |
src: url(./HaranoAjiMincho-Regular.otf) format("opentype"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table employee | |
( | |
id integer, | |
name varchar(100), | |
primary key (id) | |
); | |
insert into employee values (1, 'Jenny Thornton'); | |
insert into employee values (2, 'Alan Fowler'); | |
insert into employee values (3, 'Erick Moreno'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OpenCloverのテスト用にjtregのテストケースからJavaの文法を網羅するテストスイートを作ろうとしたけど | |
# jtregのテストはtestngとか外部のライブラリを必要とする物が多く断念 | |
$AntContent = @' | |
<project> | |
<property environment="env"/> | |
<property name="clover.jar" location="${env.CLOVER_HOME}/lib/clover.jar"/> | |
<taskdef resource="cloverlib.xml" classpath="${clover.jar}"/> | |
<path id="classpath"> | |
<pathelement path="${clover.jar}"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | |
<CoverageSession xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<Summary numSequencePoints="49" visitedSequencePoints="45" numBranchPoints="20" visitedBranchPoints="13" sequenceCoverage="91.84" branchCoverage="65" maxCyclomaticComplexity="5" minCyclomaticComplexity="1" visitedClasses="1" numClasses="1" visitedMethods="4" numMethods="6" minCrapScore="1" maxCrapScore="5.17" /> | |
<Modules> | |
<Module hash="A1-C3-FB-BA-35-05-2F-5F-EB-7A-FC-1C-97-41-AD-96-4C-E6-AB-74"> | |
<Summary numSequencePoints="49" visitedSequencePoints="45" numBranchPoints="20" visitedBranchPoints="13" sequenceCoverage="91.84" branchCoverage="65" maxCyclomaticComplexity="5" minCyclomaticComplexity="1" visitedClasses="1" numClasses="1" visitedMethods="4" numMethods="4" minCrapScore="1" maxCrapScore="5.17" /> | |
<ModulePath>C:\home\satob\project\XUnit.AltCover.MSBuild\bin\Debug\net6.0\myApp.dll</ModulePath> | |
<ModuleTime>20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example; | |
public class Main { | |
public static void test() { | |
String hoge = getHoge(); | |
String fuga = getFuga(10); | |
String piyo; | |
piyo = getPiyo(9,9); | |
piyo = getPiyo(11,9); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<coverage generated="1638640448097" clover="4.4.1"> | |
<project name="hajiboot 1.0.0-SNAPSHOT" timestamp="1638640317420"> | |
<metrics coveredelements="47" complexity="20" loc="83" methods="6" classes="2" statements="34" packages="1" coveredconditionals="11" coveredmethods="5" elements="56" ncloc="66" files="2" conditionals="16" coveredstatements="31"/> | |
<package name="com.example"> | |
<metrics coveredelements="47" complexity="20" loc="83" methods="6" classes="2" statements="34" coveredconditionals="11" coveredmethods="5" elements="56" ncloc="66" files="2" conditionals="16" coveredstatements="31"/> | |
<file path="C:\home\satob\project\hajiboot\src\main\java\com\example\App.java" name="App.java"> | |
<metrics coveredelements="4" coveredconditionals="0" complexity="2" loc="27" coveredmethods="1" methods="2" elements="6" classes="1" ncloc="20" statements="4" conditionals="0" coveredstatements="3"/> | |
<class name="App"> | |
<me |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.example; | |
public class Main { | |
public static void main(String[] args) { | |
String hoge = getHoge(); | |
String fuga = getFuga(10); | |
String piyo; | |
piyo = getPiyo(9,9); | |
piyo = getPiyo(11,9); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<CoverageSession xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="4.7.1221.0"> | |
<Summary numSequencePoints="49" visitedSequencePoints="45" numBranchPoints="20" visitedBranchPoints="15" sequenceCoverage="91.84" branchCoverage="75" maxCyclomaticComplexity="5" minCyclomaticComplexity="1" maxCrapScore="5.17" minCrapScore="1" visitedClasses="1" numClasses="1" visitedMethods="4" numMethods="4" /> | |
<Modules> | |
<Module skippedDueTo="Filter" hash="3A-57-86-DA-C5-96-F9-C0-76-A6-90-3F-05-3B-4D-D6-6B-04-44-6A"> | |
<ModulePath>C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.0\System.Private.CoreLib.dll</ModulePath> | |
<ModuleTime>2021-10-27T13:05:34Z</ModuleTime> | |
<ModuleName>System.Private.CoreLib</ModuleName> | |
<Classes /> | |
</Module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<coverage line-rate="0.9523" branch-rate="0.875" version="1.9" timestamp="1638375527" lines-covered="40" lines-valid="42" branches-covered="14" branches-valid="16"> | |
<sources> | |
<source>C:\</source> | |
</sources> | |
<packages> | |
<package name="myApp" line-rate="0.9523" branch-rate="0.875" complexity="18"> | |
<classes> | |
<class name="myApp.Program" filename="home\satob\project\myApp\Program.vb" line-rate="0.9523" branch-rate="0.875" complexity="18"> | |
<methods> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://developer.microsoft.com/ja-jp/graph/graph-explorer?request=me/onenote/notebooks&version=v1.0 , https://docs.microsoft.com/ja-jp/graph/onenote-create-page | |
$AuthorizationToken = "get.jwt.token"; | |
$JsonHeaders = @{ "Content-type" = "application/json"; Accept = "application/json"; Authorization = "Bearer " + $AuthorizationToken; } | |
$XhtmlHeaders = @{ "Content-type" = "application/xhtml+xml"; Accept = "application/json"; Authorization = "Bearer " + $AuthorizationToken; } | |
$ErrorActionPreference = "Stop" | |
$ErrorActionPreference = "Ignore" | |
$CreateNotebookUrl = "https://graph.microsoft.com/v1.0/me/onenote/notebooks" | |
$Body = [System.Text.Encoding]::UTF8.GetBytes('{ "displayName": "howm" }') | |
$Notebook = (Invoke-RestMethod -Method Post -Headers $JsonHeaders -Body $Body -Uri $CreateNotebookUrl) |
NewerOlder