// File: /workspace/github_cpp_makefile_star2_O3/MarkOates[P]file-downloader/test_file_downloader.cpp
// Function: FileDownloader_will_set_an_error_status_when_a_file_url_does_not_exist_invoker()
BOOST_AUTO_TEST_CASE(FileDownloader_will_set_an_error_status_when_a_file_url_does_not_exist)
{
   std::string file_url = "https://www.allegro.cc/this_file_does_not_exist.png";
   std::string local_filename = "";
   FileDownloader::FileHandle handle = FileDownloader::download_file(file_url, local_filename);

   BOOST_CHECK_EQUAL(FileDownloader::ERROR, handle.get_status());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq 0x796c(%rip), %rbx      # 0xf1d8
leaq 0x3909(%rip), %rax      # 0xb17c
movq %rax, -0x98(%rbp)
leaq 0x3913(%rip), %r13      # 0xb194
movq %r13, -0x90(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
leaq -0xa8(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3b65(%rip), %rsi      # 0xb43d
leaq -0x230(%rbp), %rdi
movl $0x46, %edx
callq 0x32c0
leaq 0x3cfe(%rip), %rsi      # 0xb5ee
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
leaq -0x38(%rbp), %r12
cmpq %r12, %rdi
je 0x793c
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x280(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x98(%rbp), %rsi
movl $0x53, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7987
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x765a(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x782b(%rip), %rbx      # 0xf1d8
leaq 0x37c8(%rip), %rax      # 0xb17c
movq %rax, -0x88(%rbp)
movq %r13, -0x80(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3a2b(%rip), %rsi      # 0xb43d
leaq -0x230(%rbp), %rdi
movl $0x46, %edx
callq 0x32c0
leaq 0x3bd3(%rip), %rsi      # 0xb5fd
leaq -0x230(%rbp), %rdi
movl $0xf, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7a72
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x270(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x88(%rbp), %rsi
movl $0x53, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7abd
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x7524(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x76f5(%rip), %rbx      # 0xf1d8
leaq 0x3692(%rip), %rax      # 0xb17c
movq %rax, -0x78(%rbp)
movq %r13, -0x70(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x38f8(%rip), %rsi      # 0xb43d
leaq -0x230(%rbp), %rdi
movl $0x46, %edx
callq 0x32c0
leaq 0x3ab0(%rip), %rsi      # 0xb60d
leaq -0x230(%rbp), %rdi
movl $0xc, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7ba5
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x260(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x78(%rbp), %rsi
movl $0x53, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7bed
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x73f4(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
callq 0x7ea2
movq 0x75c0(%rip), %rbx      # 0xf1d8
leaq 0x355d(%rip), %rax      # 0xb17c
movq %rax, -0x68(%rbp)
movq %r13, -0x60(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x37c3(%rip), %rsi      # 0xb43d
leaq -0x230(%rbp), %rdi
movl $0x46, %edx
callq 0x32c0
leaq 0x3988(%rip), %rsi      # 0xb61a
leaq -0x230(%rbp), %rdi
movl $0x12, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7cda
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x250(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x68(%rbp), %rsi
movl $0x53, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7d22
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x72bf(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x7490(%rip), %rbx      # 0xf1d8
leaq 0x342d(%rip), %rax      # 0xb17c
movq %rax, -0x58(%rbp)
movq %r13, -0x50(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3693(%rip), %rsi      # 0xb43d
leaq -0x230(%rbp), %rdi
movl $0x46, %edx
callq 0x32c0
leaq 0x386b(%rip), %rsi      # 0xb62d
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7e0a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x240(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x58(%rbp), %rsi
movl $0x53, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7e52
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x718f(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7e8b
jmp 0x7e8b
jmp 0x7e8b
jmp 0x7e8b
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x9ec0
movq %rbx, %rdi
callq 0x31d0